Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

kanchan_the_calculator-1.0.1.tar.gz (3.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

kanchan_the_calculator-1.0.1-py3-none-any.whl (4.6 kB view details)

Uploaded Python 3

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

Hashes for kanchan_the_calculator-1.0.1.tar.gz
Algorithm Hash digest
SHA256 05be65ec48ef11a66307bfed07be00b4d06b904986af847c3d15454103737996
MD5 92900990d58ceb3b3bfe7431fbe93a8f
BLAKE2b-256 515dfbf4bfa8b61174d0f4a42eacbac6bcfd24c7d2e8379f12770a153fbecf56

See more details on using hashes here.

File details

Details for the file kanchan_the_calculator-1.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for kanchan_the_calculator-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 9ddfdc8c1f98a0e907c4ea209e0bde8d9e17974d9da869f9eb73e09e468c8003
MD5 e87db6ab5f745f83e6b09b14bca1d9e5
BLAKE2b-256 abbc63ad2b7b58c431eea3aaaf10632ed398f7bf42746418e122c02e1a532b12

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page