Skip to content

Instantly share code, notes, and snippets.

@balepc
Created November 29, 2013 15:11
Show Gist options
  • Save balepc/7707108 to your computer and use it in GitHub Desktop.
Save balepc/7707108 to your computer and use it in GitHub Desktop.
for z in[32085242077,28922607561,17589334997,25223231453,25105905629]:print bin(z)[2:].replace('0','#').replace('1','.')
for x in[0x887920f22,0x944140836,0xbe7980c2a,0xa20940822,0xa27924822]:print bin(x).replace("1","#").replace("0",".")[3:]
@aivarsk
Copy link

aivarsk commented Nov 29, 2013

symbols: 114
for z in[32085242077,28922607561,17589334997,25223231453,25105905629]:print''.join('#.'[c>'0']for c in bin(z)[2:])

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment