Pseudocode in the wikipedia

Sunnan sunnan at handgranat.org
Fri Apr 1 22:39:53 EST 2005


James Stroud wrote:
> bob == (carol = 2):
>   if bob = (bob or carol):
>     bob == 4
> 
> But no one could figure out what bob was supposed to equal anyway.

Wouldn't bob equal the boolean result of the expression (carol = 2)?



More information about the Python-list mailing list