alright, admittedly I was going through this one a little too quickly and made a mistake in my final print statement
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(lloyd)
I know the correct print statement should read
But what I wrote was accepted as correct for some reason. They even give me two different answers: my incorrect way spits out A, while the correct was spits out B.
Can anybody explain why this is?