Question: hello, i was having difficulty generating the particular output in the first picture. i am having issue where the whole calulator menu prints in case

hello, i was having difficulty generating the particular output in the first picture. i am having issue where the whole calulator menu prints in case of wrong selection. just need help in how to avoid that. i have attached my work in the next pictures as well.  hello, i was having difficulty generating the particular output in the
first picture. i am having issue where the whole calulator menu prints
in case of wrong selection. just need help in how to avoid
that. i have attached my work in the next pictures as well.
Current Eosult: 0.0 Calculatox Menu 0. Exit Frogram 1. Addition 2. Gubtraction

Current Eosult: 0.0 Calculatox Menu 0. Exit Frogram 1. Addition 2. Gubtraction 3. Multiplication 4. Diviaion 5. Exponentiation 6. Lograrithm 7. Diaplay Average Enter Menu Selection: Error: No calculatione yet to averdgel. Entez Menu BeIection: Thanka for ueing ehia caloulacor. Goodbyel mport math =1 um=0 10=0 vg=0.0 =. orint('Current Result: r ) while (True): Hisplay options for user to select print(' InCalculator Menu') print (' print(' . Exit Program') print('1. Addition') print('2. Subtraction') print('3. Multiplication') print('4. Division') print('5. Exponentiation') print('6. Logarithm') print('7. Display Average') Hprompt user to select option from the menu print('InEnter Menu Selection:', end=" ") 1=foat(1 nput ()) \#if statement to determine condition for error message if ( i 7) : (ou,:suotze2n2eotojequnN,)utad(wns,:suotzeznozeotowns,)quTjud:

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!