> eps would be a better name than e. 

py> ε = 10.0 ** -7; n = 0; z = c = complex(-0.75, ε)
py> while abs(z) < 2.0:
...     n += 1
...     z = z * z + c
...
py> π = n * ε
py> print(π)
3.1415926

Regards,
Martin
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to