-
-
Save stephengruppetta/ba21ce4dbd61f6564cc54d01648fe1cb 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: | |
# ... | |
def add_member(self, member): | |
if member not in self.members: | |
self.members.append(member) | |
# ... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment