cds4-computation-0.1
توضیحات
Several calculations of two numbers
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | cds4-computation-0.1 |
| نام | cds4-computation |
| نسخه کتابخانه | 0.1 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Urmila |
| ایمیل نویسنده | - |
| آدرس صفحه اصلی | - |
| آدرس اینترنتی | https://pypi.org/project/cds4-computation/ |
| مجوز | - |
## My Calculator
This package computes the various computations of Maths like :
* Greatest Common Divisor
* Lowest Common Multiple
* Reducing Fraction
## Installations
__Through pypi package__
``` Shell
$ pip install my-calculator
```
## Usage
After the package is installed, several operation can be performed like:
__Greatest Common Divisor__
``` Python
from my_calculator import Calculator
Calculator.gcd(8, 16, 24)
# Output : 8
Calculator.gcd(10, 12)
# Output : 2
```
__Lowest Common Multiple__
``` Python
from my_calculator import Calculator
Calculator.lcm(10, 20, 30)
# Output : 60
Calculator.lcm(10,5)
# Output : 10
```
__Fraction reducer__
``` Python
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:
1. Other Mathematical functions addition
نحوه نصب
نصب پکیج whl cds4-computation-0.1:
pip install cds4-computation-0.1.whl
نصب پکیج tar.gz cds4-computation-0.1:
pip install cds4-computation-0.1.tar.gz