Skip to content

Instantly share code, notes, and snippets.

@phenomist
Created July 8, 2017 01:44
Show Gist options
  • Save phenomist/5f3ec49ac72d417fa1f698bfc9607a7a to your computer and use it in GitHub Desktop.
Save phenomist/5f3ec49ac72d417fa1f698bfc9607a7a to your computer and use it in GitHub Desktop.
Just another obfuscated Hello World printer
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