Quoted By:
[code:lit]
>>> from random import *
>>> def f(x): return sum(1/random() for i in range(x)) / x
...
>>> [f(10**i) for i in range(9)]
[1.2166239601131894, 3.1513368267645947, 13.067284342569916, 11.76475693070929, 26.233379825187278, 11.293376908117354, 19.769171231564766, 16.014107767470772, 17.596068819773738]
[/code:lit]