Skip to content

Latest commit

 

History

History
26 lines (19 loc) · 753 Bytes

README.md

File metadata and controls

26 lines (19 loc) · 753 Bytes

Find Pi

This Python code will estimate the value of Pi based on the size of the parameter.

Higher the value of the parameter, the more accurate the Pi value will be.

Run on Python 3.7.6 or higher versions

Usage

$ 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

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

License

Apache License 2.0