Class Grading getting indentation errors


So I'm writing down my code for creating a class average

 def get_class_average(students):
      results = []
      for student in students:
      return>  File "python", line 49
      return average(results)


Then an error pops up

File "python", line 49
    return average(results)
IndentationError: unindent does not match any outer indentation level

I don't see any indentation error, where is it and how can I fix it


@si-fiwizard: Try pasting your code into online compilers like , remove the whitespaces and press tab to indent them.
After everything is fixed, just copy and paste into your original code.


Did your suggestion it worked.


Glad to help, @si-fiwizard ! :slightly_smiling: