Skip to content

Instantly share code, notes, and snippets.

@offby1
Created November 18, 2017 23:58
Show Gist options
  • Save offby1/6aa93a10b77ea3bf16f0414220f208e9 to your computer and use it in GitHub Desktop.
Save offby1/6aa93a10b77ea3bf16f0414220f208e9 to your computer and use it in GitHub Desktop.
import personalData
def main():
print('Let\'s create an Address Book: ')
book = []
while True:
entry = personalData.from_console()
print('You\'ve entered the following: ')
print (entry)
book.append (entry)
addMore = str(input('Would you like to add another entry? (y/n): '))
if addMore.lower ()[0] != 'y':
break
if __name__ == "__main__":
main ()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment