id() trickery
Reuben Sumner
rasumner at iname.com
Mon Mar 20 04:04:44 EST 2000
Tim Peters wrote in message <000301bf9235$1d59a740$c52d153f at tim>...
>but the converse doesn't hold. For brownie points, figure out the expected
>number of iterations before this program produces some output:
Approximately 82,137.
For brownie points calculate the expected number of iterations before the
program produces some output if the check "if hash2float[h] != x" is
removed.
Reuben
More information about the Python-list
mailing list