0
Python editor bug?
Seems like when I try to write a function in projects, the auto indentation throws errors. I have to manually goto the beginning of the line and use "tab" buttons instead of space, or it says return outside of function.
2 Antworten
+ 1
is this in pydroid? paraphrasing: "it seems like theres a mix of tabs and spaces" error?
0
I actually meant it. There's a "tab" that is in a slider within the editor, that works for indenting. My device doesn't have a tab, so I tried using space * 4, that threw an error. This obviously is the other way around if you are using a plain text editor on your computer. I think it's sololearn's specific issue or maybe the test module setup issue, not sure.