/pi

Hilariously simple python implementation of the Wallis Sieve method to calculate π.

Primary LanguagePython

pi

(for best results, execute directly in cmd)
Hilariously simple python implementation of the Wallis Sieve method to calculate π. Using the following equation:

Equation Image
source

i found this very interesting that you can use something like a slightly modified sierpinski carpet to get pi!