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
From Source
$ git clone git@github.com:ghimireadarsh/My-Calculator.git
$ cd My-Calculator
$ pip install .
Usage
After the package is installed, several operation can be performed like:
Greatest Common Divisor
from my_calculator import Calculator
Calculator.gcd(10,12)
# Output : 2
Lowest Common Multiple
from my_calculator import Calculator
Calculator.lcm(10,12)
# Output : 60
Fraction reducer
from my_calculator import Calculator
Calculator.reduce_fraction(10,12)
# Output : (5,6)
TO DO:
- License info addition
- Contributor info addition
- Other comuptation addition and their corresponding info addition
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
my_calculator-0.3.tar.gz
(2.0 kB
view hashes)