y = choose whatever number you want.
if 5 < y < 11:
print("The value stored in y is between 6 and 10 inclusive")
else:
print("The value stored in y is not between 6 and 10 inclusive.")
I hope this helps!
4.3m questions
5.6m answers