93,028 views
19 votes
19 votes
Edhisive 3.5 code practice

User Chvck
by
2.8k points

1 Answer

6 votes
6 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 BenPearce
by
2.7k points