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]