Provide python code to calculate pie infinitely