Talk:NameError without a quine
Jump to navigation
Jump to search
NameError itself doesn't have a nonempty quine since output is always longer than input. --None1 (talk) 01:44, 20 August 2024 (UTC)
- The command in NameError can span more than one line. Unname4798 03:50, 20 August 2024 (UTC)
- But the output is still longer than the program, for example:
- Program:
aaa bbb
- prints:
Traceback (most recent call last): File "<stdin>", line 1, in <module> NameError: name 'aaa' is not defined Traceback (most recent call last): File "<stdin>", line 1, in <module> NameError: name 'bbb' is not defined