Reference no: EM132382345
Question
Using Python, make a user to display, sort and update as needed a List of U.S States containing the State Capital and State Bird.
You will need to embed the State data into your Python code. The user interface will allow the user to perform the following functions:
1. Display all U.S. States in Alphabetical order along with Capital and Flower
2. Search for a specific state and display the appropriate Capital and Bird
3. Update a Bird for a specific state
4. Exit the program
Generate an appropriate Welcome, prompt, and exit messages to help the user navigate the program. The program should continue to allow selections until the program is exited. If a state is not found an appropriate message should be displayed.
1. Use the List data structure and associated sort() and searching capabilities
2. Use functions as often as possible
3. Use comments to document your code