Paul McGuire: > coinflip = lambda : int(random.random()*2) I warmly suggest you to use this instead: randrange(2)
Bye, bearophile -- http://mail.python.org/mailman/listinfo/python-list
Paul McGuire: > coinflip = lambda : int(random.random()*2) I warmly suggest you to use this instead: randrange(2)
Bye, bearophile -- http://mail.python.org/mailman/listinfo/python-list