Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@NMZivkovic
Created March 3, 2019 10:52
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 NMZivkovic/7bb51327f4eb6af2c3fe72c2bf123ebf to your computer and use it in GitHub Desktop.
Save NMZivkovic/7bb51327f4eb6af2c3fe72c2bf123ebf to your computer and use it in GitHub Desktop.
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