7. Sending a letter
I just want to ask a question, There is one thing I don't get. I am a complete beginner so I am not really familiar with programming, thus this may sound stupid, anyway: how is it possible, that '(score)' is somehow linked with the function above (computing average)....aren't they linked? Then how does the computer know, that '(score)' is a number for. ex., how come it is not necessary to define it? I guess I didn't get the concept of arguments in general.
Replace this line with your code. 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" return get_average(lloyd) return get_letter_grade(student)