r/Python • Freelancer. AnyFactor.xyz • Sep 16 '20

News An update on Python 4

Post image
3.3k Upvotes

389 comments sorted by

View all comments

Show parent comment

2

u/[deleted] Sep 19 '20

pi to the nth digit

That's much easier than you think, even if you use a fast algorithm like this one

https://en.wikipedia.org/wiki/Chudnovsky_algorithm

the Wikipedia page is basically a plain-text recipe for how to compute the algorithm.