0

What means unexpected indent ?

Please Help

11th Aug 2023, 12:38 PM
KingLarypto
KingLarypto - avatar
4 Réponses
+ 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.
11th Aug 2023, 12:47 PM
Shree
Shree - avatar
+ 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
11th Aug 2023, 12:58 PM
Shree
Shree - avatar
+ 1
Thanks bro
11th Aug 2023, 12:57 PM
KingLarypto
KingLarypto - avatar
+ 1
Okay 👌
11th Aug 2023, 1:00 PM
KingLarypto
KingLarypto - avatar