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!
9.5m questions
12.2m answers