On Sep 2, 1:37 pm, Baba <[email protected]> wrote: > level: beginner
In this economy, simulating the value of retirement funds with
bisection is easy. Look:
def retirement_fund_value(n_years,initial_value):
for i in xrange(n_years):
value /= 2 # <- bisect value of fund
return value
Carl Banks
--
http://mail.python.org/mailman/listinfo/python-list
