Question: If you enter 1 2 3 in three separate lines, when you run this program, what will be displayed? print ( Enter three numbers:

If you enter 123 in three separate lines, when you run this program, what will be displayed?
print("Enter three numbers: ")
number1= int(input())
number2= int(input())
number3= int(input())
# Compute average
average =(number1+ number2+ number3)/3
# Display result
print(average)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!