Answered step by step
Verified Expert Solution
Question
1 Approved Answer
#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
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