Created
March 3, 2019 10:52
-
-
Save NMZivkovic/7bb51327f4eb6af2c3fe72c2bf123ebf 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
class Citadel(object): | |
def __init__(self): | |
self.__residents__ = [] | |
def get_all_residents(self): | |
return self.__residents__ | |
def add_resident(self, resident): | |
self.__residents__.append(resident) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment