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 :
num eval inputwhat is the first number?"
num eval inputwhat is the second number?"
num eval inputwhat is the third number?"
num eval inputwhat is the fourth number?"
num eval inputwhat is the fifth number?"
sum num num num num num
average sum what is the error here
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