I am using spyder 5.3.3 for python coding. I copied the code from some sources,it works fine. But when I make edits in it, I get indentation error.
Asked
Active
Viewed 54 times
0
-
1The easiest would be to understand the cause of the error and fix it by yourself. Do you know about the importance of [correct indentation](https://www.w3schools.com/python/gloss_python_indentation.asp) in Python? – jps Oct 22 '22 at 06:52
-
2https://stackoverflow.com/questions/1024435/how-to-fix-python-indentation – Andrew Ryan Oct 22 '22 at 06:54
1 Answers
0
In case of copy codes from different sources, I found that the easiest way to solve it by: Go to Source --> Fix Indentation. this worked for me.

A_B_Y
- 332
- 2
- 8