Created
May 3, 2023 12:13
-
-
Save stephengruppetta/2c7fb941bd3dc0d40b9012734b830769 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
class Wizard: | |
def __init__(self, name, patronus, birth_year): | |
self.name = name | |
self.patronus = patronus | |
self.birth_year = birth_year | |
self.house = None | |
self.wand = None | |
# Create two wizard instances | |
harry = Wizard() | |
hermione = Wizard() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment