Question: Write Python code that repeatedly requests input to determine Godzilla's next move. It should display the menu Enter Godzilla's next move: 1 - Crush Tokyo
Write Python code that repeatedly requests input to determine Godzilla's next
move. It should display the menu
Enter Godzilla's next move:
Crush Tokyo City Hall
Crush Diet Building
Crush Tokyo Tower
Fight Mothra
Return to the sea
If the user enters numbers print the corresponding action Godzilla crushes
Tokyo Tower. Ahhh!" If the user enters exit. If the user enters anything else,
print a chastising message. Thats not allowed." Use exception handling, and
write your code in a way that makes it easy to add new menu items. Whether or
not the user gave valid input, print a blank line before printing the menu again.
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
