Search code examples
pythonspyder

what is the easest way to solve indentation problem in spyder 5.3.3


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.


Solution

  • 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.