Several calculations of two numbers
Project description
My Calculator
This package computes the various computations of Maths like :
- Greatest Common Divisor
- Lowest Common Multiple
- Reducing Fraction
Installations
Through pypi package
$ pip install my-calculator
Usage
After the package is installed, several operation can be performed like:
Greatest Common Divisor
from my_calculator import Calculator
Calculator.gcd(8, 16, 24)
# Output : 8
Calculator.gcd(10, 12)
# Output : 2
Lowest Common Multiple
from my_calculator import Calculator
Calculator.lcm(10, 20, 30)
# Output : 60
Calculator.lcm(10,5)
# Output : 10
Fraction reducer
from my_calculator import Calculator
Calculator.reduce_fraction(10,12)
# Output : (5,6)
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.
TO DO:
- Other Mathematical functions addition
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 cds4_computation-0.1.tar.gz.
File metadata
- Download URL: cds4_computation-0.1.tar.gz
- Upload date:
- Size: 3.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b1d591d87c104c3e537ac209ead60df51de9392795a09cd8813b666efa12361c
|
|
| MD5 |
45ba1f0dad5ac95c780796e71a1abddd
|
|
| BLAKE2b-256 |
2807307c589dc1ae51bd3e5838c52ff77c117558ca7dd2458d0ee488ddd499af
|
File details
Details for the file cds4_computation-0.1-py3-none-any.whl.
File metadata
- Download URL: cds4_computation-0.1-py3-none-any.whl
- Upload date:
- Size: 3.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a2dd1583eee82b9f2a21d2db51daa7abb973d861efbe5c8bc0da13a0a7ac776f
|
|
| MD5 |
02016eaf1b033c1ec14fc392abfcbd27
|
|
| BLAKE2b-256 |
412e28367370aeca2c45f6d71a774f6f3aaf966a74d0cfbc635734e9f27dab60
|