Python/error debug
IndentationError: unexpected indent
kimble2
2024. 8. 4. 16:03
반응형
Inconsistent Indentation Levels
Problematic Code:
if True:
print("First line")
print("Second line")
Error Message:
IndentationError: unexpected indent
Solution: Indentation should be consistent, typically using four spaces.
if True:
print("First line")
print("Second line")반응형