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