num1 = float(input("Enter the first number: "))
num2 = float(input("Enter the second number: "))
if num1 > num2:
print(num1)
else:
print(num2)
I hope this helps!
5.6m questions
7.3m answers