loading
open in
main.py
1
2
3
4
5
6
7
8
9
10
11
12
13
# Find smaller of two numbers

print ("Enter a number")
number1 = int(input())
print ("Enter another number")
number2 = int(input())

if number1 < number2:
    print(number1, " is  the smaller number")
elif number1 > number2:
    print(number2, " is the smaller number")
else:
    print("Both numbers are equal")