-
-
Save stephengruppetta/837ae619d8bac619b56aec6f8d3f2a81 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
# hogwarts_magic.py | |
class Wizard: | |
# ... | |
class House: | |
# ... | |
class Wand: | |
def __init__(self, wood, core, length): | |
self.wood = wood | |
self.core = core | |
self.length = length | |
def cast_spell(self, spell): | |
# We'll get to this later, in Year 4 | |
... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment