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
8.4k points

Related questions

asked Nov 8, 2024 20.3k views
EzioMercer asked Nov 8, 2024
by EzioMercer
8.1k points
1 answer
4 votes
20.3k views
1 answer
1 vote
10.7k views