Banking Online Using mainly loops in Python Create a menu to allow the banker to add a client, insert the client into a special location in the list, closing the account(remove), find the client based on firstName, and sort the list in descending order (larger to smaller value). NewClient=["Mike navarro","Miguel saba","Maria Rami"] Balance= [900.00, 400.00, 450.00] You may use any of build in functions. Here is an sample output: 1- Add a new client 2- Remove a client 3- Insert an item to the list 4- Search for the client based on firstName 5-Search for the client based on lastName 6- Sort the list in descending order(firstName) 7- Quit the program Please enter your option: 3 Where do you want to insert the client? (Enter the index number) 1 Please enter the client info: "Tina Mari" Your original List : ["Mike navarro","Miguel saba","Maria Rami"] After inserting an item into index 1: ["Mike navarro","Tina Mari", "Miguel saba","Maria Rami"] Once the user enters an option, your program should execute the code for that option and displays the list before and after the operations. Make sure to use a while loop so the program runs until user enters the quit option.
Banking Online
Using mainly loops in Python
Create a menu to allow the banker to add a client, insert the client into a special location in the list, closing the account(remove), find the client based on firstName, and sort the list in descending order (larger to smaller value).
NewClient=["Mike navarro","Miguel saba","Maria Rami"] Balance= [900.00, 400.00, 450.00]
You may use any of build in functions. Here is an sample output:
1- Add a new client
2- Remove a client
3- Insert an item to the list
4- Search for the client based on firstName
5-Search for the client based on lastName
6- Sort the list in descending order(firstName)
7- Quit the
Please enter your option: 3
Where do you want to insert the client? (Enter the index number) 1
Please enter the client info: "Tina Mari"
Your original List : ["Mike navarro","Miguel saba","Maria Rami"]
After inserting an item into index 1:
["Mike navarro","Tina Mari", "Miguel saba","Maria Rami"]
Once the user enters an option, your program should execute the code for that option and displays the list before and after the operations. Make sure to use a while loop so the program runs until user enters the quit option.
Trending now
This is a popular solution!
Step by step
Solved in 4 steps with 5 images