A simple calculator
Project description
This is a basic calculator
It can be used to add , subtract , multiple, divide two integers
Installation
pip3 install eb7calculator
Import
from eb7calculator import calculator as calc
# or
from eb7calculator.calculator import add, sub, mul, div
usage
from eb7calculator import calculator as calc
calc.add(1,2)
# output:3
calc.sub(2,1)
# output:1
calc.mul(10,2)
# outout:20
calc.div(10,5)
# output:2.0
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
eb7calculator-0.0.1.tar.gz
(1.8 kB
view details)
Built Distribution
File details
Details for the file eb7calculator-0.0.1.tar.gz
.
File metadata
- Download URL: eb7calculator-0.0.1.tar.gz
- Upload date:
- Size: 1.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.24.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 579e8d6d5d3019e59190bfd0755fb6cf254fb65da94087bd20601529d64854f9 |
|
MD5 | 7213b5ea4f7bc2099c2ac49d567fb809 |
|
BLAKE2b-256 | fbb0df5eefe9624c6ef9b8280d26e1e963b3e6235d8fc13c5a26d097786267d0 |
File details
Details for the file eb7calculator-0.0.1-py3-none-any.whl
.
File metadata
- Download URL: eb7calculator-0.0.1-py3-none-any.whl
- Upload date:
- Size: 1.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.24.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 89664cc5b76118c927bc76890ebb4f7886736a09565dfb28ea31cbbbf168e24d |
|
MD5 | ebc5ac65647475e97c01b81a83144400 |
|
BLAKE2b-256 | 82459384ff3b6cfbfec5cb7776e0b5308b438ac4743c09cfc7cd6572f6061904 |