-
-
Save stephengruppetta/4b6c9ff67ab157f55046637132dfcd07 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# making_magic.py | |
from hogwarts_magic import Student | |
hermione = Student("Hermione Granger", "otter", 1979, 1) | |
other_hermione = Student("Hermione Granger", "otter", 1979, 1) | |
print(hermione == other_hermione) | |
print(hermione is other_hermione) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment