Class Grading getting indentation errors


#1

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

 def get_class_average(students):
      results = []
      for student in students:
          results.append(get_average(student))
      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


#2

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


#3

Did your suggestion it worked.


#4

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