""" Using if, elif, elif else to convert a percent grade to a letter grade. """

quiz_score = float(input('Please enter the quiz score, out of 100: '))

# Convert quiz score to a letter grade

if quiz_score >= 90:
    print('Your letter grade is an A')
elif quiz_score >= 80:
    print('Your letter grade is a B')
elif quiz_score >= 70:
    print('Your letter grade is a C')

# Can you add another elif to check if the grade is >= 60
# and print a message saying that the grade is a D

else:
    print('Sorry, you failed the quiz')


