[Tutor] A puzzle for you

John Fouhy john at fouhy.net
Sat Oct 14 08:48:28 CEST 2006


>From the python_dev LiveJournal community ---

Predict the outcome of the following code:

##
from random import *
seed()
[choice(dict((x+1,0) for x in range(1000))) for x in range(693)][0]
##

-- 
John.


More information about the Tutor mailing list