Sending a letter


Hi this is the code I entered:

def get_letter_grade(score):
if score >= 90:
return "A"
elif score >= 80:
return "B"
elif score >= 70:
return "C"
elif score >= 60:
return "D"
return "F"
print get_letter_grade(get_average(lloyd))

I try to run this code but when I click run it keeps on loading. What am I doing wrong here? If somebody can help me that would be great!


May we see your get_average function, please? Thanks.


Hi after your comment I looked at my previous assignments and I fixed it and now my code is working! thanks


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.