IndentationError: unindent does not match any outer indentation level怎么回事

IndentationError: unindent does not match any outer indentation level

This is the most typical pit in Python. When writing code in Python, the indentation is very strict. Once an error occurs, it will not run.

This error is a typical indentation error. Each indentation is a tab key or four spaces. Check whether the line of code where the error occurred is aligned with the upper and lower code.
Or use the tab key to edit it again

Guess you like

Origin blog.csdn.net/A_Tu_daddy/article/details/105515204