Sololearn: Learn to Code
New course! Every coder should learn Generative AI!
Try a free lesson
0
num1 = int(input("Enter the first number:")) num2 = int(input("Enter the second number:")) if num1 > num2: print(num1,"is larger than",num2) print(num2,"is smaller than",num1) else: print(num2,"is larger than",num1) print(num1,"is smaller than",num2)
28th Jan 2022, 11:28 AM
hamishhr
hamishhr - avatar