Skip to content

aneeshtigga/find_pi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

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

About

A python code which calculates the value of Pi

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages