41.7k views
4 votes
3.5 Code Practice: Question 1 edhesive

1 Answer

7 votes

Answer:

x = int(input("What grade are you in? "))

if(x == 9):

print("Freshman")

elif(x == 10):

print("Sophomore")

elif(x == 11):

print("Junior")

elif(x == 12):

print("Senior")

else:

print("Not in High School")

Step-by-step explanation:

User Masashi M
by
4.8k points