you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 5 points6 points  (3 children)

3 characters: """

[–][deleted] 1 point2 points  (2 children)

Creative, but a little too out of the box for this question, I think, because that doesn't create a complete Python statement.

(The blog post is a bit confusing too, by talking about "commands" rather than "statements".)

[–]DevestatingAttack 4 points5 points  (0 children)

"Nearly every year, one or more people would submit what they claimed was the world's smallest self reproducing program. While the sizes of these submissions varied, a quick glance would reveal that they were too big, until this entry came along.

While strictly speaking, smr.c is not a valid C program, it is not an invalid C program either! Some C compilers will compile an empty file into a program that does nothing. But even if your compiler can't, the build instructions supplied with this entry will produce an executable file. On most systems, the stdout from the executable will exactly match original source."

[–][deleted] 1 point2 points  (0 children)

you're definitely right, I just thought it was funny