Get_class_average funtion problem



SyntaxError: invalid syntax

i think i dont see where is the problem with sintaxis .
y write all the code (in spanish )in online shell
and the run well.
i am frusted because i run the code in spanish(is more easy for my undestand all the names ) , but i cant run my course version

students =[lloyd,alice,tyler] 

for x in students :
    def get_class_average (students):
       return average(results)


You probably didn't finish line 52 (the one above)


i edit my post to put more code


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.