Simple Calculator with memory
Project description
Calculator
Simple calculator with basic mathematics operations and its own memory.
Installation
Use the package manager pip to install calculator.
pip install calculator
Usage
from calculator import Calculator
#first create an instance of Calculator
x = Calculator()
x.add(1,3) # returns 4 (sum of 1 and 3) and saves it to memory
x.sub(1) # returns 3 (subtracts 1 from "memory")
License
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
calculator-anarim1-0.0.1.tar.gz
(59.4 kB
view hashes)
Built Distribution
Close
Hashes for calculator_anarim1-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cc7ee5921b46978b28d2b97d232ea250d7995e0b95599ff515157ccfeaa0269a |
|
MD5 | 89eb8d6dcb94b437d613bee4bc066126 |
|
BLAKE2b-256 | 79874197da7ffed9eb46d6cb476ae25e93c2259518328b2f36641de6ce09029a |