Created
July 8, 2017 01:44
-
-
Save phenomist/5f3ec49ac72d417fa1f698bfc9607a7a to your computer and use it in GitHub Desktop.
Just another obfuscated Hello World printer
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import re | |
def hello_world(): | |
x=y=1 | |
for i in [5, 2, 1, 1, 22, 6, 1, 5, 2, 1, 5, 3, 2, 1, 271, 3, 1, 3, 1, 1, 1]: | |
x,y=y,x+y*i | |
return ''.join(map(lambda x: chr(int(re.sub(r"\D","",str(x)))+30),zip(str(x*y)[::2],str(x*y)[1::2]))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment