Question: I need your help in writing this code. The menu should look like this: # Step 1 : Create a menu system with a starting
I need your help in writing this code. The menu should look like this:
# Step : Create a menu system with a starting option.
menuoption X
# Step : An empty list to store the amount of plastic in kg removed by each rig each day.
plasticremoved
# Step : Variable to track the day number.
currentday
# Step : Keep running the program until the user decides to quit by pressing E
while menuoption E:
# Display the menu and ask what the user wants to do
menustring
A Add data
T Get Total kg of Plastic Removed
O Get Number of Overload Days
E End program
Choose an option:
menuoption inputmenustring # Get the user's choice. Please make it simple and easy to understand.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
