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

#Python 3, 79 bytes

A='G="A=%r;exec(A);assert len(G)==30";print(end=G%A)';exec(A);assert len(G)==30

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

feersum
  • 31.5k
  • 9
  • 65
  • 125