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.2m questions
6.7m answers