All pastes #2063577 Raw Edit

Untitled

public python v1 · immutable
#2063577 ·published 2011-05-18 14:31 UTC
rendered paste body
'''The German mathematician Gottfried Leibniz developed the following method to approximate the value of pi:3.14/4 = 1-1/3+1/5-1/7+1/9-1/11+...Write a program that allows the user to specify the number of iterations used in this approximation and that displays the resulting value for pi. '''