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!
8.6m questions
11.2m answers