176k views
5 votes
Write a program in python to accept three numbers and print the largest of the three

User Della
by
4.3k points

1 Answer

2 votes

Answer:

num1 = int(input("Enter number 1: "))

num2 = int(input("Enter number 2: "))

num3 = int(input("Enter number 3: "))

print(max(num1,num2,num3))

Step-by-step explanation:

Python 3

User OMGtechy
by
4.5k points