Determining combination of bits

news.west.cox.net sean.berry2 at cox.net
Tue Nov 9 06:18:36 CET 2004


> Note: 2^1 = 2, so your dictionary is already in error...
>

The dictionary was filled with arbitrary values, not
{ x : 2^x } values like you might have thought.

It is actually more like {1:123, 2:664, 4:323, 8:990, 16:221... etc}






More information about the Python-list mailing list