7. Sending a Letter -- Not Printing


#1




It asks for a print statement after everything but the console does not print anything. It doesn't tell me I'm wrong, it just didn't print anything. I think this means I did something that causes it not to read that portion of information but I'm not sure what.


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"
    else:
        return "F"

    
    print get_letter_grade(get_average(lloyd))


#2

print + the function call should be outside the function, example:

def example():
   return "hello world"

#function call outside the function
print example()

hope that helps


#3

Oh that does help a lot! Such a small mistake really changes a lot. Thank you for your help!


#4