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




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
Get step-by-step solutions from verified subject matter experts
