Higher the value of the parameter, the more accurate the Pi value will be.
Run on Python 3.7.6 or higher versions
$ python -i find_pi.py
Call the function find_pi with appropriate parameters
>>> find_pi(10000)
3.1304
Note: The higher the value you put in, the more compute power it'll need to generate the Pi value
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.