How can I test my get_letter_grade function?
First, be sure you
So once you’ve got your
get_letter_grade(). Now we’re ready to pass it a value.
Unlike we’ve usually done up to this point, we’re going to pass our function another function call as an argument! We can do this because
get_average() returns a number, so it’s equivalent to passing a value in normally.
We should end up with something like