Skip to main content
10 of 12
added 19 characters in body
feersum
  • 31.5k
  • 9
  • 65
  • 125

#Python 3, 48 bytes

c='print(end=len(c)%5*"c=%r;exec(c)"%c)';exec(c)

Switching to Python 3 so that the trailing newline can be easily removed.

I started out with a stupid structure that had 2 variables instead of 1, but switching to 1 variable only made it 4 bytes shorter.

-4 bytes by Dennis.

feersum
  • 31.5k
  • 9
  • 65
  • 125