News for hackers. Stuff that matters.
Re:Quick puzzle: how long to get to heaven? by ojbyrne on Tuesday November 23, 2010 @08:22AM (#1933572)
I know you just tossed off that code, but I wanted to run it. I think n should have been k in the line "return sum(one() for i in range(n)) / float(n)"
Re:Quick puzzle: how long to get to heaven? by gjm11 on Tuesday November 23, 2010 @09:58AM (#1933857)
Actually it should have been "def many(n)" instead of "def many(k)" :-), but yes. Thanks for the bugfix. Too late to edit it in, alas.