Search code examples
pythonquine

What makes this snippet not a strict quine?


Does someone know why this is not a strict quine ?

_0='_0=%r;print _0%%_0';print _0%_0

Solution

  • The print statement appends a newline during execution, so you would need to include a newline in the snippet.

    enter image description here