Question: Using python, create a program to manage an address book. It is mandatory to use a list of lists. The program should be able to
Using python, create a program to manage an address book. It is mandatory to use a list of lists. The program should be able to let the user add new contacts, search for any contact, make modifications, and also print the entire addressbook. The program should initially check for a text file called mycontacts.txt and read its contents into a list of lists, if the file exists. The program should Display the menu to the user that contains all the above options. Do not call the main() function from the main() function. You must use loops. Get input from the user. Note: Remember to perform input validation Adding a new contact - Get the name, address, phone number, and email address from the user. Store this information in a list and this list to the list of all individuals. Printing the Address Book - Print all the contents of the address book. Searching for a contact - Ask the user for the name of the contact that they are looking for. Based on the name, look for that individual in the list and, if they are found in the list, display all the information for that individual. If the individual is not found in the list, then display a message to the user saying "There is no contact with that name in your address book."
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
