Skip to content

Instantly share code, notes, and snippets.

@DarkCat09
Last active May 30, 2023 14:36
Show Gist options
  • Save DarkCat09/9975016882d761566021f9c7b34fd0ec to your computer and use it in GitHub Desktop.
Save DarkCat09/9975016882d761566021f9c7b34fd0ec to your computer and use it in GitHub Desktop.
The most complicated "Hello World" in Python
# Copyright (c) 2023 Andrey Chechkenev
# MIT License
# Version 2.3
(lambda n,o:(lambda p:(lambda e,f,g,h,z,x,y,v:(lambda a,b,c,d:[c(chr(i)) for i in [*b(''.join(map(lambda j:chr(j),a.w(a)))),*d.encode('utf-8')]].sort())(type('a',(),{chr(0xff&0x7a^z):[[((k*x(2,6)&0)+k+v(y*y)) for k in [112,109,59,66,130,107,80,90,70]],[((-v(0b1000000)+(k|0x0))^0xf0) for k in [155,175,158,123,138,175,192]]],'w':lambda s:[*s.q[0xd&1],*s.q[0x80&0]]}),o(f).b64decode,o(e).stdout.write,o(g).linesep))('ysy'.translate(str.maketrans({chr(151//100+114):'y',chr(0x79):'s'})),*o('json').loads(''.join([i2 for i1,i2 in enumerate(p('XSJtN29kbjVhciJuICwiNnNvImogLCJoNDZldXNhYm4iWw==').decode('utf-8'),1) if i1%4!=0][::-1])),0x17>>(0xb&1),o('random').randint,0xf&0x8|0x9,lambda vv:-int(o('math').sqrt(vv))))(o(repr(n.object)[9]+o('string').ascii_lowercase[0]+'os'[0b1100001&1==0x1]+o('functools').reduce(lambda h1,h2:'e',(8,16))+f'{0x40}').b64decode))(__builtins__,__import__)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment