y = whatever value you want
if 5 < y < 11:
print("Your number is between 6 and 10")
9.3m questions
12.0m answers