No project description provided
Project description
kanchan Calculator
A fully functional calculator by kanchan timalsina with history tracking.
Installation
pip install kanchan-the-calculator
Python Usage
from kanchan_the_calculator import Calculator
calc = Calculator() print(calc.add(5, 3)) # 8 print(calc.subtract(10, 4)) # 6 print(calc.multiply(3, 7)) # 21 print(calc.divide(20, 4)) # 5.0 print(calc.power(2, 8)) # 256p print(calc.square_root(81)) # 9.0 print(calc.percentage(200, 15)) # 30.0 print(calc.absolute(-42)) # 42 calc.print_history() # shows all past operations
Command Line
kanchan_calc
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 kanchan_the_calculator-1.0.1.tar.gz.
File metadata
- Download URL: kanchan_the_calculator-1.0.1.tar.gz
- Upload date:
- Size: 3.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
05be65ec48ef11a66307bfed07be00b4d06b904986af847c3d15454103737996
|
|
| MD5 |
92900990d58ceb3b3bfe7431fbe93a8f
|
|
| BLAKE2b-256 |
515dfbf4bfa8b61174d0f4a42eacbac6bcfd24c7d2e8379f12770a153fbecf56
|
File details
Details for the file kanchan_the_calculator-1.0.1-py3-none-any.whl.
File metadata
- Download URL: kanchan_the_calculator-1.0.1-py3-none-any.whl
- Upload date:
- Size: 4.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9ddfdc8c1f98a0e907c4ea209e0bde8d9e17974d9da869f9eb73e09e468c8003
|
|
| MD5 |
e87db6ab5f745f83e6b09b14bca1d9e5
|
|
| BLAKE2b-256 |
abbc63ad2b7b58c431eea3aaaf10632ed398f7bf42746418e122c02e1a532b12
|