Loop_variable= 1 Pi=1.0 term=0 T=1.0 While (loop_variable> 0): Loop_variable=Loop_variable+1 T=T+2.0 If (loop_variable%2 ==0): Term=0; Else: term=1;
If term ==0: Pi=Pi- float(1/T); Else: Pi=Pi+ float(1/T); -- http://mail.python.org/mailman/listinfo/python-list