Python if elif else statement. Python nested condition.
a = int(input())
if a == 5:
print('a is equal to 5.')
elif a < 5:
print('a is less than 5.')
elif 5 < a < 10:
print('a is in between 5 and 10.')
else:
print('a is greater than 10.')
Output:
>> 6
a is in between 5 and 10.