Share your repls and programming experiences

← Back to all posts
Basel Problem
LizFoster (648)

Alright, another way to compute π, done!

This uses an infinite series (via the summation operator) discovered by our good friend Leonhard Euler, which, after infinitely many iterations, will equal π^2 / 6.

Please Enjoy! Any feedback or suggestions to improve my code is greatly appreciated.