Calculator package
Project description
Calculator_SB
Calculator_SB is a class that allows to calculate basic mathematics functions: addition, subtraction, multiplication, division, root square.
Project is created as part of TC data science course.
Installing Calculator_SB
pip install CalcDSSB
Using Calculator_AB
Calculator_AB has internal memory, to witch actions are performed.
Possible functions:
__init__(self)
Sets memory to zero.
add(self, number)
Adds number to memory.
Returns memory.
sub(self, number)
Subtracts number from memory.
Return memory.
multi(self, number)
Multiples memory by number.
Return memory.
div(self, number)
Divides memory by number.
Return memory.
srt(self)
Takes square root of memory.
Return memory.
mem_reset(self)
Resets memory to zero.
Contact
If you want to contact me you can reach me at banyssimas@gmail.com.
License
This project uses the following license: MIT License.
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
CalcDSSB-0.1.3.tar.gz
(1.5 kB
view hashes)
Built Distribution
Close
Hashes for CalcDSSB-0.1.3-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2db12a5632d023e18f19ffb8cad86d6b486ad74bfcb5aecd73588ba3bb6278d5 |
|
MD5 | 72195405190ec8d8220463fb4bc3a7f7 |
|
BLAKE2b-256 | a05239bd1a514cf79e72e727f2fdc5dfff95d5f5202b50e0b308e533e5dbc834 |