Python

1 Pin
 3y
Collection by
IndentationError: unindent does not match any outer indentation level Python, Error Message, Levels, Code Blocks, Coding, Error, Excess, Python Programming, Spaces
IndentationError: unindent does not match any outer indentation level
The IndentationError: unindent does not match any outer indentation level error occurs when you use both spaces and tabs to indent in your code. You can define a code block with any amount of indent, but the indent must match exactly to be at the same level. The IndentationError: unindent does not match any outer indentation level error indicates that there is an excess indent in the line that the python interpreter does not expect to have. The unindent code does not match with any outer indenta