python unexpected unindent

Disclaimer: This article is a blogger original article, shall not be reproduced without the bloggers allowed. https://blog.csdn.net/wangfenghui132/article/details/78960175

Will appear before a sublim often this problem, but repeated a number of controls, the problem is not indented but still this error. And then himself on the compromise, and re-write it again, there is no wrong. This happens often, later replaced VSCode, a lot less this situation.
Today, when they appeared with VSCode this mistake, the future may also be a lot of such cases, it is necessary to put this issue is resolved, or rewrite the code each time it is impossible. I first of all in the user settings inside the editor.renderWhitespace set to true. Display spaces are correct, there is no indentation without alignment. Finally, careful thought, it was my little writing except when the introduction try. Forehead, hoping Each encounter problems can quickly find the problem now.

Guess you like

Origin blog.csdn.net/wangfenghui132/article/details/78960175