Share your repls and programming experiences

← Back to all posts
Estimate Pi with an infinite series
LaurinNeff (13)

I made a quick little python script that estimates Pi with an infinite series! I'm currently letting it run up to 1 000 000 000 000 000 to see how precise it can get

TRACK3Rofficial (11)

No wonder it's called Pithon

mwilki7 (943)

You could also try Nilakantha series to do some loop unrolling to help speed up the process

LizFoster (568)

Wow, this is so cool! I don't know how I hadn't seen this before. Good job!!