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

Language is Python, need help!! Language is Python, need help!! Due: Feb 24, 2020 08:59 am submit

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

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!