Write a script to find pi to the Nth digit

A script using the Chudnovsky algorithm to find the Nth digit of pi.

Steps to execute

  • Ensure python installation on your machine
  • Execute the script python main.py

Sample output

Enter the number of digits: 157
7

Built With

Share this project:

Updates