Homework: Use if-elif-else statements to create a grading system where user inputs a percent grade (0 to 100).
If grade is between 100 and 90: print “A”
else if grade is between 90 and 80: print “B”
else if 70-80: print “C”
else if 60-70: print “D”
else: print “F”
Resources:
Slides: https://docs.google.com/presentation/d/1pt5d4uLt0xl3HokgqYP3JJIa4EvTDPIobdGS1sMszUA/edit?usp=sharing
Code: https://replit.com/join/ljeselilpf-shrav816
Contact info:
shravyassathish@gmail.com (mentor)
Make sure to "Add a comment" with your code to the homework in order to submit your homework assignment!
Recordings for Week 3 Day 1 Class have been sent out :)
Grade= int(input(What was your score?: "))
If 100 >=grade >90
Print("You nailed it! A 😎😄!")
elif 90 >= grade > 80:
print("OK la..... You get a B😮")
elif 80 >= grade > 70:
print("Work harder.... C😮")
elif 60 >= grade > 50:
print("Horrible. You get a D😓")
else:
print("You failed!!! F! 😤")