Question: IMPORTANT NOTE: THIS IS ON PYTHON 2 Look at the README for details on this problem Write a program that prompts the user for an

IMPORTANT NOTE: THIS IS ON PYTHON 2 Look at the README forIMPORTANT NOTE: THIS IS ON PYTHON

2 Look at the README for details on this problem Write a program that prompts the user for an odd number from 1 to 99 until the number 87 is encountered. Not including the 87, calculate the average. 5 # YOUR NAME: Dominic Noble 6 + ASSIGNMENT: Vocareum 34 7 # DATE COMPLETED: 02/25/20 In case you know what this means: DO NOT USE LISTS! We will look into the use of lists later. Click here for an example run 9 inp - 0 10 count = 0 11 while inpl= 87: inp = int(input("Please enter an odd number from 1 to 99 (87 to stop): ")) 13 print(inp) if inp != 87: 15 count - count + 1 16 17 print("the average is", count) ============= YOUR OUTPUT = == ========== 0001: Please-enter-an-odd-number-from-l-to-99-(87-to-stop):-41 0002: Please enter-an-odd-number-from-1-to-99-(87-to-stop) :-77 0003: Please-enter-an-odd-number-from-1-to-99-(87-to-stop): -25 0004: Please-enter-an-odd-number-from-1-to-99-(87-to-stop):-87 0005: the-average-is-3 =================== ================== MISMATCH FOUND ON LINE 0005: ACTUAL ! thc-average-is-3 EXPECTED: the-average-is-47.666666666666664 Adjust your program and re-run to test. Test 1 failed ccc_vi_w_221_110493@runweb22:-$

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!