Funny code

Albert-Jan Roskam sjeik_appie at hotmail.com
Thu Sep 26 07:32:06 EDT 2019


On 26 Sep 2019 10:28, Christian Gollwitzer <auriocus at gmx.de> wrote:
Am 26.09.19 um 08:34 schrieb ast:
> Hello
>> A line of code which produce itself when executed
>> >>> s='s=%r;print(s%%s)';print(s%s)
> s='s=%r;print(s%%s)';print(s%s)
>> Thats funny !

==> Also impressive, a 128-language quine:
https://github.com/mame/quine-relay


More information about the Python-list mailing list

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