Answer:
In Python:
def get_letter_grade(points):
if points>=900:
grade ="A"
elif points>=800 and points < 900:
grade ="B"
elif points>=700 and points < 800:
grade ="C"
elif points>=600 and points < 700:
grade ="D"
else:
grade = "F"
return grade
Step-by-step explanation:
This defines the function
def get_letter_grade(points):
The following if-else if conditions check the score to determine the appropriate grade
if points>=900:
grade ="A"
elif points>=800 and points < 900:
grade ="B"
elif points>=700 and points < 800:
grade ="C"
elif points>=600 and points < 700:
grade ="D"
else:
grade = "F"
This returns the grade
return grade