Calculator Python package
Project description
Emilija's Calculator Package
Description
The package is an implementation of a calculator that performs basic math tasks written in Python. The actions implementd:
- Addition / Subtraction (adds new value to an existing in the memory)
calculator.add(2)
- Multiplication / Division.
calculator.mul(2)calculator.div(2)
- Take nth root of a number.
calculator.root(2)
- Reset memory to
0calculator.reset()
- View current value in the memory
calculator.get_current_val()
Install
pip install calculator-package-emabaran==0.0.1
https://pypi.org/project/calculator-package-emabaran/0.0.1/
Import
- Importing calculator object:
from calculator import calculator
- Importing Calculator class:
from calculator.calc_mod import Calculator
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 Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
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 calculator_package_emabaran-0.0.1-py3-none-any.whl.
File metadata
- Download URL: calculator_package_emabaran-0.0.1-py3-none-any.whl
- Upload date:
- Size: 3.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
720d4b61324d7c6678f8648948f230d786ddf1e5ebe6dece153924f1aa0ce56c
|
|
| MD5 |
9e278e8127b8ccd7e70c3e9c8ebe652a
|
|
| BLAKE2b-256 |
4be3c4212d1d1515f319a96b02961d0ef43b61bc62767b461255c825c6abea62
|