Skip to main content

No project description provided

Project description

bibek's Calculator

A fully functional calculator by bibek tiwari with history tracking.

Installation

pip install bibek-the-calculator

Python Usage

from bibek_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

bibek_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

bibek_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.

bibek_the_calculator-1.0.1-py3-none-any.whl (4.5 kB view details)

Uploaded Python 3

File details

Details for the file bibek_the_calculator-1.0.1.tar.gz.

File metadata

  • Download URL: bibek_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 bibek_the_calculator-1.0.1.tar.gz
Algorithm Hash digest
SHA256 560344a14e8e2ae693f5ec5ad1d022a8c4f939a9dbb43c16f4a10fdc7f2881aa
MD5 acb197c53f5b967c7f7e262206e79a2a
BLAKE2b-256 f421f599ca9ce798edbb65b1edf9f9edbd3d8dad2d3709870fd21e890a8ac62f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for bibek_the_calculator-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 15a0aada03a26e973fdfebf34858d2c930c778da869b485116722039421cb7f9
MD5 cb9e550ff48e61620a55174153886642
BLAKE2b-256 f5d5c7c7ec700ea7bb23e446a371f1b5e6875ca59e9b25cebadd830b76c425c2

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