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