largest_number = 0

number1 = int(input("Enter the first number: "))

number2 = int(input("Enter the second number: "))

number3 = int(input("Enter the third number: "))

if number1 > number2:

if number1 > number3:

largest_number = number1

elif number2 > number1:

if number2 > number3:

largest_number = number2

elif number3 > number1:

if number3 > number2:

largest_number = number3

else:

print(“error”)

print(“The largest number is:”, largest_number)