Encuentra dos números en Python
a = int(input("enter first number: "))
b = int(input("enter second number: "))
sum = a + b.
print("sum:", sum)
Shiny Snake
a = int(input("enter first number: "))
b = int(input("enter second number: "))
sum = a + b.
print("sum:", sum)
number = 9
if number < 5:
print("number is below 5")
elif 5 <= number <= 20:
print("number is between 5-20")
else:
print("number is above 20")
>>> range(11, 17)
[11, 12, 13, 14, 15, 16]