Skip to content

Instantly share code, notes, and snippets.

@stephengruppetta
Created May 3, 2023 12:03
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/ad1891fd5062ae12a4309d14013d7496 to your computer and use it in GitHub Desktop.
Save stephengruppetta/ad1891fd5062ae12a4309d14013d7496 to your computer and use it in GitHub Desktop.
class Wizard:
def __init__(self):
self.name = None
self.patronus = None
self.birth_year = None
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