What will I Say?

What would be the output of the following code :

a = 5.0
x = 0.8
trials = 10000
for i in xrange(trials):
      x = a*x*(1-x)
print "Answer:", x/(1-x)
×

Problem Loading...

Note Loading...

Set Loading...