312

221 days ago by mziz

 
       
for n in range(115,126): words = 10000 result = 1 for i in range(n): result *= float(words)/float(10000) # 10,000/10,000 * 9,999/10,000 * 9,998/10,000 ... with n terms in the product words -= 1 print n, result 
       
115 0.517877657616
116 0.511922064553
117 0.505983768605
118 0.500063758512
119 0.494163006161
120 0.488282466388
121 0.482423076792
122 0.476585757562
123 0.47077141132
124 0.464980922961
125 0.459215159516
115 0.517877657616
116 0.511922064553
117 0.505983768605
118 0.500063758512
119 0.494163006161
120 0.488282466388
121 0.482423076792
122 0.476585757562
123 0.47077141132
124 0.464980922961
125 0.459215159516
float(binomial(10000,115))*float(factorial(115)) 
       
inf
inf