Skip to main content

Has Up to 1 Million digits of pi!

Project description

This Project has only one function: pi

You can have 1000000(1 Million) digits of pi in a string.

You can't calculate with it, because if you convert it to foat python will reduce it to 3.141592653589793 but you can many things; make e. a pi search(To find a number sequence in pi), create music with pi, make a 3D code drawing or even make a game!

Install with pip:

pip install math-pi

An Example:

>>>import math_pi
>>>print(math_pi.pi(b = 10))
3.1415926535
>>>print(math_pi.pi(a = 2, b = 10)) # This doesn't return the "3." when the starting number is more than 1
415926535
>>>print(math_pi.pi(b = 1000000))
3.141592653589793238462643383279502884197169399375105820... #Squuezed Output Viewer will pop up when you print a big number

This Project requires: pi_1mp

HomePage

Special Thanks to Peter Truebsen who inspired me for making this module

Note: ThisProject counts numbers after the point. Example math_pi.pi(a = 1, b = 3) is "3.141"

Regards, Tanmay

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

math_pi-0.0.7.tar.gz (2.1 kB view details)

Uploaded Source

File details

Details for the file math_pi-0.0.7.tar.gz.

File metadata

  • Download URL: math_pi-0.0.7.tar.gz
  • Upload date:
  • Size: 2.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.7.7

File hashes

Hashes for math_pi-0.0.7.tar.gz
Algorithm Hash digest
SHA256 15a0003664bef2d0da0e77f934ca42f4b945af52b48f95cec27ba02cab8b60eb
MD5 e9724b84a8891e610f0f58951b23cf78
BLAKE2b-256 92f153040c3575a53c508a999c2c28a4d9b6c3a2fc5fc76798f20538b51654ad

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page