Question: Question 1 (5 points): Purpose: To practice creating and manipulating lists. Degree of Difficulty: Easy MO4rP41n is an up and coming death metal band seeking


Question 1 (5 points): Purpose: To practice creating and manipulating lists. Degree of Difficulty: Easy MO4rP41n is an up and coming death metal band seeking fame and notoriety in Saskatoon, led by Ed Slasher. However, his insistence on sound purity and style has led to high turnover in the rest of the band. You will complete a partially written program that will allow Ed to add new members to his band remove existing members from his band determine whether a name exists in the current version of MO4rP41n, and print the entire roster to the console. Consider the given starter code in a5q1-starter.py. The starter code is functional in that the interactive menu works, but when you select a menu item, it doesn't actually do anything (with the excepiton of 'Quit'). You should try running it before you write any code to see how it behaves. Then, fill in your own code where the comments tell you to Each comment that you need to address is marked with the word TODO and explains what you should do. Sample Run Here is an example of how your program's console output might look Green text was entered by the user. Menu: a - Add a new name d - Delete a name 1 - Print all names 8 - Search for a name. 9 - Quit program. Enter the letter next to the menu item you wish to use: a Enter a name: Jeff Long Menu: a - Add a new name d- Delete a name P Print all names 8 - Search for a name. q - Quit program. Enter the letter next to the menu item you wish to use: a Enter a name: Kevin Stanley Menu: a - Add a new name d - Delete a name P - Print all names 8 - Search for a name. 9 - Quit program. Enter the letter next to the menu item you wish to use: a Enter a name: Kiron Kiron Menu: a - Add a new name d - Delete a name p - Print all names 8 - Search for a name. a Quit program. Enter the letter next to the menu item you wish to use: P 1. Jeff Long 2. Kevin Stanley 3. Kiron Kiron Menu: a - Add a new name d Delete a name P - Print all names 8 - Search for a name. q - Quit program. Enter the letter next to the menu item you wish to use: s Enter a name : Jeff Long Rock On ! Menu: a - Add a new name d - Delete a name p- Print all names 8 - Search for a name. 9 - Quit program. Enter the letter next to the menu item you wish to use: B a - Enter a name : Mike Horach Never heard of them! Menu: Add a new name d- Delete a name P- Print all names 8 - Search for a name. q - Quit program. Enter the letter next to the menu item you wish to use: d Enter a name: Kevin Stanley Kevin Stanley was removed from the roster. Menu: a- Add a new name d - Delete a name P - Print all names 8 - Search for a name. q - Quit program. Enter the letter next to the menu item you wish to use: p 1. Jeff Long 2. Kiron Kiron Menu: a - Add a new name d - Delete a name P - Print all names 8 - Search for a name. 9 - Quit program. Enter the letter next to the menu item you wish to use: 4 We love you Saskatoon! M04rP4in out!. What to Hand In Rename your completed a5q1-starter.py file to a591.py, add the required code and submit it
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
