sum(generate() for i in range(1000000))
sum(generate() for i in range(1000000))
sum(generate() for i in range(1000000))
sum(generate() for i in range(1000000))
sum(generate() for i in range(1000000))
Python - modelling probability