a problem to solve

John Salerno johnjsal at NOSPAMgmail.com
Fri Mar 24 14:44:17 EST 2006


mensanator at aol.com wrote:

> Then you'll want to represent the lights as a 20-bit binary number.
> 
> Each bit position corresponds to 4 lamps

I'm not sure I understand that. If I use a 20-bit number, wouldn't each 
bit correspond to a single light on each switch? What do you mean that 
each bit is 4 lamps?



More information about the Python-list mailing list