promotion image of download ymail app
Promoted

computer science question?

What is the average when you run this code? Given that Number1=20, Number2=30, and Number3=20

Number1=int(input("Enter Number1 = "))

Number2=int(input("Enter Number2 = "))

Number3=int(input("Enter Number3= "))

Sum=Number1+Number2+Number3

print("Number1 is equal to ",Number1)

print("Number2 is equal to ",Number2)

print("Number3 is equal to ",Number3)

print("The sum is ",Sum)

avg=Sum/3

print("The Average is = ", avg)

There are no answers yet.
Be the first to answer this question.