Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

what is wrong with this python code?

print("hello, type a number!")
num1 = int(input())
num2 = int(input())
if num1 < num2 == True:
    print(num1 + " is smaller then " + num2)
else:
    print(num2 + " is smaller then " + num1)


Answers

Sign In or Register to comment.