Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 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 ()
Add Comment
Please, Sign In to add comment