Skip to main content
We’ve updated our Terms of Service. A new AI Addendum clarifies how Stack Overflow utilizes AI interactions.
Code Golf

Return to Answer

-3 bytes
Source Link
dingledooper
  • 23.4k
  • 1
  • 40
  • 130

Python 2, 68(削除) 68 (削除ここまで) 65 bytes

A quine which is essentially an extension of this answer .-3 bytes thanks to @Mukundan

x="printx="g=0\nfor reduce(lambdai a,bin'x=%r;exec x'%x:a*95+ordg=95*g+ord(bi)-31,'x=%r;exec31\nprint x'%x,0)";execg";exec x

Try it online! or Check it online! Try it online!

Python 2, 68 bytes

A quine which is essentially an extension of this answer .

x="print reduce(lambda a,b:a*95+ord(b)-31,'x=%r;exec x'%x,0)";exec x

Try it online! or Check it online!

Python 2, (削除) 68 (削除ここまで) 65 bytes

-3 bytes thanks to @Mukundan

x="g=0\nfor i in'x=%r;exec x'%x:g=95*g+ord(i)-31\nprint g";exec x

Try it online!

Source Link
dingledooper
  • 23.4k
  • 1
  • 40
  • 130

Python 2, 68 bytes

A quine which is essentially an extension of this answer.

x="print reduce(lambda a,b:a*95+ord(b)-31,'x=%r;exec x'%x,0)";exec x

Try it online! or Check it online!

AltStyle によって変換されたページ (->オリジナル) /