bruce = Person(first_name="Bruce", last_name="Wayne", phone="902432309443", birth="1939", email="*****@*****.**") contact_book = [john, marissa, bruce] manager = Manager(contact_book) while True: print "Choose (1-5)" print "1. Add new contact" print "2. Output all contacts" print "3. Edit contact information" print "4. Delete contact from contact book" print "5. Close" choice = raw_input("") if choice == "1": manager.add_new() elif choice == "2": manager.output_contact() elif choice == "3": manager.edit_contact() elif choice == "4": manager.delete_contact() elif choice == "5": break else: print "Please enter value between 1-5"