Created
November 18, 2017 23:58
-
-
Save offby1/6aa93a10b77ea3bf16f0414220f208e9 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
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