An simple calculator package
Project description
A simple calculator package
Calculator has memory inside. So you just have to do operations having this in mind. For exmaple if 10 is currently in memory, adding 2 will result in 12. When creating new Calculator instance you can initialize starting value.
install:
pip install kanina
usage:
import kanina
calc = kanina.calculator.Calculator()
calc.add(10)
calc.sub(5)
calc.mult(2)
calc.div(10)
calc.pow(2)
calc.root(2)
print(calt.cval())
calc.reset()
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
kanina-0.0.1.tar.gz
(6.0 kB
view details)
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 kanina-0.0.1.tar.gz.
File metadata
- Download URL: kanina-0.0.1.tar.gz
- Upload date:
- Size: 6.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.25.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7d034c02cc7b672a0630358dd97cefbc38c7548eae23709febe2689217abcfb2
|
|
| MD5 |
37a7665d9efe919fd2c2ed240cabae83
|
|
| BLAKE2b-256 |
af09f7b16c88b604ab2b57b5f33e468ba16d03e9173f7edc82eb00b8795061b8
|
File details
Details for the file kanina-0.0.1-py3-none-any.whl.
File metadata
- Download URL: kanina-0.0.1-py3-none-any.whl
- Upload date:
- Size: 2.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.25.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
370a26803e894bdf87388a7834e7814eeacc1334f0db05a0deb9c83f9638cf6f
|
|
| MD5 |
ab591ca0f7c906b7cc2e603989cf31e0
|
|
| BLAKE2b-256 |
a5442d30ab76d8ba791f9d59dea22f9b2be1eb13c92e6d91d3ff5df0d37e0f21
|