This is a tab:
This is a space:
as you can see they are hard to tell apart.
Hi! So basically, your teacher is using tabs, while you are using spaces. Here's how to fix:
in the search, paste:
Then, click the triangle:
and inside the input, paste:
Basically what that did was convert all tabs to spaces.
Hopes this helps!
The error is that the indent settings on the repl was tab, and you used spaces to indent that line, or the settings on the repl was spaces, and you used tab to indent that line. If your settings are tab, use tab to indent and unindent the line a few times, or if your settings are spaces, use spaces to indent and unindent the line a few times.
Mark this as the answer if it was helpful or useful.