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

Question:

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 By: A Y

||

Answers:

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.

Answered By: adeljalalyousif
Categories: questions Tags: ,
Answers are sorted by their score. The answer accepted by the question owner as the best is marked with
at the top-right corner.