I have been thinking about this issue and I can\'t figure it out. Perhaps you can assist me. The problem is my code isn\'t working to output 1000 digits of pi in the Python
I'm not familiar with your algorithm. Is it an implementation of BBP?
In any case, your make_pi is a generator. Try using it in a for loop:
make_pi
for digit in make_pi(): print digit
Note that this loop is infinite: make_pi() never throws StopIteration
make_pi()
StopIteration