193k views
5 votes
Edhesive 3.5 code practice quetion one

Edhesive 3.5 code practice quetion one-example-1

1 Answer

3 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:

Hope this helps lovely :)

User Tkinter Lover
by
4.3k points