Python Indentation Error Again
@imai /tmp> cat quine.py File "/private/tmp/quine.py", Line 1 File "/private/tmp/quine.py", line 1 IndentationError: unexpected indent @imai /tmp> python3 quine.py File "/private/tmp/quine.py", line 1 File "/private/tmp/quine.py", line 1 IndentationError: unexpected indent
A terminal shows the same Python IndentationError appearing both when displaying and running quine.py. The joke is that the attempted quine fails because its indentation is wrong, so the program reproduces an error instead of reproducing its own source. It is a reaction to repeated programming mistakes and debugging frustration.
terminal window / окно терминалаcommand prompt / командная строкаPython source file / файл исходного кода Pythonerror message / сообщение об ошибкеmonospaced text / моноширинный текстwhite background / белый фонblack text / чёрный текстred file path / красный путь к файлуpurple error label / фиолетовая метка ошибкиblue line number / синий номер строки
- @pokupkabitka / 39730 2024-04-30
- Type
- image
- Size
- 800×371 · 73.0 KiB
- Mood
- frustrated
- Language
- en
- Added