In python:
if 8 < user_grade < 13:
print("in high school")
You would just need to supply the value of the user_grade variable.
5.8m questions
7.6m answers