I am working on this code, how can i make it better?
The first think i want to make better is change it so if a value like 1 or something is entered it will say
you can only enter a value A to U
The first think i want to make better is change it so if a value like 1 or something is entered it will say
you can only enter a value A to U
Python:
grade = input("What is your grade?")
if grade == "A":
print ("A definitely stands for AMAZING!")
elif grade == "B":
print( "That’s really good well done!")
elif grade == "C" :
print ("You Passed your exam!")
else:
print("I think you might need some revision lessons!")