A very basic calculator
Project description
Basic Calculator
This is my first python package. This is a very simple calculator that takes 2 numbers and can either add, subtract, multiply or divide them.
Installation
Run the following to install :
pip install SDasBasicCalculator
Usage
from SDasBasicCalculator import add_num
from SDasBasicCalculator import sub_num
from SDasBasicCalculator import mul_num
from SDasBasicCalculator import div_num
Add 2 numbers:
add_num(num1, num2)
Subtract2 numbers:
sub_num(num1, num2)
Multiply 2 numbers:
mul_num(num1, num2)
Divide 2 numbers:
add_num(num1, num2)
Developing Basic Calculator
To install Basic Calculator, along with the tools you need to develop and run tests, run the following in your virtualenv:
$pip install -e .[dev]
CHANGE LOG
1.0.1 (20/01/2021)
-FIRST RELEASE
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
Close
Hashes for SDasBasicCalculator-1.0.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c652e4a39168d6f6606cae9e25c75b29abebc55ca868306b2cff45d28da19d42 |
|
MD5 | dc25dfa7017ebd7acdf8d84339319bdf |
|
BLAKE2b-256 | 6a992c8e3835232a3aa57141bd2ef23ea16f0062229e617583fd81649a1faf08 |
Close
Hashes for SDasBasicCalculator-1.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9e6b7aebf059ce924f994d4e27658c445a875ce468ac6c65ecc5385661c15fe0 |
|
MD5 | 405e1dcd4a388836ef3989b4d4d63bcb |
|
BLAKE2b-256 | 6c868272d8cd105d6b0022e692300a9f3c63f2da54e0a7e133bf5eefc55edfca |