An IndentationError
will occur if indentation is missing:
if 5 > 2:
print("Five is greater than two!")
The IndentationError
exception occurs when indentitation is missing, or is wrong.
You have to use the same number of spaces in the same block of code, otherwise you get an IndentationError
.
An IndentationError
will occur if you use wrong indentation:
if 5 > 2:
print("Five is greater than two!")
print("Makes sence!")
Track your progress - it's free!
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4