Question: Language is Python, need help!! Due: Feb 24, 2020 08:59 am submit Instructions from your teacher: Prompt for a sequence of numbers, the last number
Due: Feb 24, 2020 08:59 am submit Instructions from your teacher: Prompt for a sequence of numbers, the last number being zero. Print the average of the numbers. If no data is entered (only a zero was entered), you can generate an error (division by zero). If no data is entered, print "Sequence Length is 0". Example Input Enter a Number (zero to quit): 1 Enter a Number (zero to quit): 7 Enter. a Number (zero to quit): 9 Enter a Number (zero to quit): 0 Example Output Average: 5.666666666666667 Example Input Enter a Number (zero to quit): 0
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
