Student becomes the teacher error


#1

Hey everyone, getting the following error:

Oops, try again. get_letter_grade(89) returned None instead of 'B' as expected.

Was hoping you could take a look at my code and help me out! TIA!




#2

you don't need line 34. make sure to unindent line 35 once, as well as the return below it. line 23 you need to create a different variable. or return function wont know which total you want as a return. it should look like this: Line 22: total = sum(n)
line 23: x = float(total)
line 24: z = x/len(n)
return z.


#3

Juan - thank you very much! I updated my code with your help and it works now, however it still produces the same output in the console which is strange. Anyhow, thanks again!