Sending a letter


#1

Can someone take a look at my code here. the error i am receiving is as follows:

NameError: name 'get_letter_grade' is not defined

def get_letter_grade(score):
    if score >= 90.0:
        return "A"
    elif score >= 80.0:
        return "B"
    elif score >= 70.0:
        return "C"
    elif score >= 60.0:
        return "D"
    else:
        return "F"

print get_letter_grade(get_average(lloyd))`


#2

The code you posted is incomplete, it is not sufficient to produce the error message you mention.

Your code does create a function by that name, so something else that you did is preventing this code from running or undoes what this code did.