range_1 = range(2, 40) number = 11 if number in range_1 : print(number, 'is present in the range.') else : print(number, 'is not present in the range.')