Armed with a text editor

mu's views on program and recipe! design

Puzzlers Posted 2006.05.17 06:51 PDT (#)

What is the following useful for?

''.join(chr(sum(((val >> i) & 1) << (7-i) for i in range(8))) for val in range(256))
Categories: puzzle python

Comments:

Joe Wreschnig @ 2006.05.17 11:17:

Confusing me at 1AM.