byStarTW says to YSITD # pi pi = 3 i = 2 while True: pi = pi + (4/(i*(i+1)*(i+2)))-(4/((i+2)*(i+3)*(i+4))) i +=4 print(pi)