Question: #new program sum and average #this program takes 5 inputs from the user and calculates the sum of 5 numbers, and the average of the
#new program sum and average
#this program takes inputs from the user and calculates the sum of numbers, and the average of the numbers
#by Mara Caminero
def main :
number eval inputwhat is the first number?"
number eval inputwhat is the second number?"
number eval inputwhat is the third number?"
number eval inputwhat is the fourth number?"
number eval inputwhat is the fifth number?"
sum number number number number number
average sum
printThe sum of the numbers is roundsum
printThe average of the numbers is roundaverage what is the error, this is pycharm
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
