ygroup = int( input( "What is your year group? " ) ) if ygroup <= 9 : print( "You are a junior student") if ygroup > 9 : print( "You are a senior student" )