six function calculator
Project description
six_function_calculator
This is a simple calculator. This calculator starts with an initial value of 0 within memory. It stores the results of previous calculations within memory, subsequent calculations use the current value stored in memory.
This calculator performs 6 functions
- Addition of a maximum of two numbers at a time
- subtraction of a maximum of two numbers at a time
- Mutiplication of a maximum of two numbers at a time
- Division involving two numbers
- Finding the nth root of a number
- Reseting the calculator's working memory to 0
Licence: MIT (see LICENCE)
Installing this package
pip install six_function_calculator
Example
from six_function_calculator import Calculator
-Creating an instance of Calculator:
calculator1 = Calculator()
-Using this instance of Calculator
calculator1.add(0) -> 0
calculator1.add(2) -> 2
calculator1.add(4) -> 6
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file six_function_calculator-0.0.3.tar.gz.
File metadata
- Download URL: six_function_calculator-0.0.3.tar.gz
- Upload date:
- Size: 2.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.28.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8d480c710fc0b052158fb557d1c8b9f991492d4d48b8b29d39679363e823f4c1
|
|
| MD5 |
13d0b73d8259481611b2023e4c2f8d48
|
|
| BLAKE2b-256 |
a27989c76ca70e2bf2de80c7536a5df280d86c7494ebd8ff2a893549e1cb5159
|
File details
Details for the file six_function_calculator-0.0.3-py2.py3-none-any.whl.
File metadata
- Download URL: six_function_calculator-0.0.3-py2.py3-none-any.whl
- Upload date:
- Size: 3.1 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.28.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
afb7aaca4f4b3ab8970f59da67e367ddaadf8fd6df72635530ab64222c098c46
|
|
| MD5 |
db9daa10472ee472274b77726932e62e
|
|
| BLAKE2b-256 |
c29f2a557ef0d23abe8966299b01d661259c01f0e9eb14309f21294adf19330c
|