0
What means unexpected indent ?
Please Help
4 Respuestas
+ 4
- Indent is a specific number of spaces or tabs denoting that a line of code is part of a particular code block.
- IndentationErrors help to make code more readable and ensure the Python interpreter correctly understands your code.
- If you added an additional space where not needed in your code, you will encounter an error as:
“IndentationError: unexpected indent”
_____________________________________________
To solve an indentation error:
1)Check for unnecessary white spaces or tabs
2) Indentation for a specific block remains the same throughout the code.
+ 4
Next time whenever you ask a question first use search bar in Q&A discussion forum to avoid repeated questions.
Happy Learning 🤗
https://www.sololearn.com/Discuss/190994/?ref=app
https://www.sololearn.com/Discuss/1769943/?ref=app
+ 1
Thanks bro
+ 1
Okay 👌