yeargroup = int(input("What is your year group? ")) if yeargroup <= 10 : print('you are a junior') else: print('you are a senior')