A simple Python package for scientific and mathematical constants.
Project description
You can use any commonly used constants like pi, e, h(plancks constant), avogadro number, etc. syntax: #on first line of code from constants import values as vals #as vals part is your choice #then print(f"{vals.pi} {vals.h} {vals.e}") #output: 3.14 6.626e-34 2.71828 #e is exponent here not constant e (euler)
in this module there is on another file also, name functions where you can use 4 different functions for now named as getin, ou, Greater_among_two, Greates_Among_Three syntax: from constants import functions as fn a = fn.getin("Enter any number: ") #getin is used in place of input() b = fn.getin("Enter any number: ") c = fn.getin("Enter any number: ") gtwo = fn.Greater_among_two(a, b) gthree = fn.Greatest_Among_Three(a, b, c) #out is used in place of print fn.out(f"Greatest among {a} and {b} is {gtwo}") fn.out(f"Greatest ampng {a}, {b} and {c} is {gthree}")
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file constantsbyyuvneil-1.0.5.tar.gz.
File metadata
- Download URL: constantsbyyuvneil-1.0.5.tar.gz
- Upload date:
- Size: 2.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
40ded8434d8b0e9a594f28da33a8a125e7a39da0e1b8cc546025c70cc626d3f9
|
|
| MD5 |
9792c0dff6f3d9d5ddfe3b7f723e25ef
|
|
| BLAKE2b-256 |
16a5d158a17b8282b17dc61eaefdf8b7ec01fa514e2d23e2267ad78e3d029be2
|
File details
Details for the file constantsbyyuvneil-1.0.5-py3-none-any.whl.
File metadata
- Download URL: constantsbyyuvneil-1.0.5-py3-none-any.whl
- Upload date:
- Size: 3.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2823f37d53bf839e51cad6c314ec93dfbbe94489d76ca2ed87520c33f1ccecd9
|
|
| MD5 |
91518bf07983e7a92f6a9eefe2c4155f
|
|
| BLAKE2b-256 |
b4def0681faa5e9343539d15b3cca6d08899a59b4fad3b939c800f0c303e0f07
|