Skip to content

Instantly share code, notes, and snippets.

@stephengruppetta
Created July 27, 2023 19:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save stephengruppetta/05c8bfcd4823195e7ddf4da719552f88 to your computer and use it in GitHub Desktop.
Save stephengruppetta/05c8bfcd4823195e7ddf4da719552f88 to your computer and use it in GitHub Desktop.
# making_magic.py
from hogwarts_magic import Student
hermione = Student("Hermione Granger", "otter", 1979, 1)
malfoy = Student("Draco Malfoy", "stag", 1980, 1)
print(hermione > malfoy)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment