I see I wrote the below a little too quickly! Don't forget to take
the reciprocal when printing. You might want to modify my naming of
variables to reflect this. And return the reciprocal, which actually
gives the pi approximation in the function form.
On Wed, Mar 28, 2018 at 9:08 PM, boB Stepp
On Wed, Mar 28, 2018 at 2:09 PM, Roger Lea Scherer wrote:
> In one of my lessons I am asked to compare approximations for pi. I got
> everything to work properly and my attempt is successful and matches
> Python's approximation up to 15 digits to the right of the decimal, but I
> suspect I can do