Skip to content

Instantly share code, notes, and snippets.

@lazzarello
Created December 5, 2015 21:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lazzarello/a219217eefec4b7bfed5 to your computer and use it in GitHub Desktop.
Save lazzarello/a219217eefec4b7bfed5 to your computer and use it in GitHub Desktop.
python -c 'print (lambda r,w,h:"\n".join("".join((" ","🍕")[c]
for c in s)for s in reduce(lambda a,y:a+[[r>>(a[y][x-1]*4+a[y][x]*2+a[y][(x+
1)%w])&1for x in range(w)]],range(h),[[0]*(w/2)+[1]+[0]*(w/2)])))(90,63,31)'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment