Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Instructions sum.py 1 # Edit the code below 2 Edit the program provided so that it receives a series of numbers from the user and
Instructions sum.py 1 # Edit the code below 2 Edit the program provided so that it receives a series of numbers from the user and allows the user to press the enter key to indicate that he or she is finished providing inputs. After the user presses the enter key, the program should print 3 theSung g a data = Input("Enter a number:) s while data ** number float(data) 7 theSum a number data = Input("Enter the next number: *) 9 printf-The sum is', thesun] 6 8 1. The sum of the numbers 2. The average of the numbers An example of the program input and output is shown below. Enter a number on press Enter to quit: Enter a number or press Enter to quit: Enter a number or press Enter to quit: Enter a number or press Enter to quit: The sun is 5.0 The average is 210 I Grading When you have completed your 7X....exe 89 ere to search
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started