(for best results, execute directly in cmd)
Hilariously simple python implementation of the Wallis Sieve method to calculate π.
Using the following equation:
i found this very interesting that you can use something like a slightly modified sierpinski carpet to get pi!