Skip to main content

Calculator package by Adda Blaise

Project description

Python Calculator

Calculator Functions:

  • Addition / Subtraction.
  • Multiplication / Division.
  • Take (n) root of a number.

Installation

pip install calculator_bladda

Usage

* Show memory value             calc.memory()
* Addition                      calc.add(number)
* Subtraction                   calc.subtract(number)
* Multiplication                calc.multiply(number)
* Division                      calc.divide(number)
* nth root of a number          calc.nth_root(n)
* Reset                         calc.reset()
    
>>>>calc = CalcBladda()
>>>>calc.add(10)
10
>>>>calc.subtract(2)
8
>>>>calc.multiply(3)
24
>>>>calc.divide(2)
12.0
>>>>calc.nth_root(2)
3.4641

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

calculator_bladda-0.0.1.tar.gz (2.1 kB view details)

Uploaded Source

Built Distribution

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

calculator_bladda-0.0.1-py2.py3-none-any.whl (3.2 kB view details)

Uploaded Python 2Python 3

File details

Details for the file calculator_bladda-0.0.1.tar.gz.

File metadata

  • Download URL: calculator_bladda-0.0.1.tar.gz
  • Upload date:
  • Size: 2.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.28.2

File hashes

Hashes for calculator_bladda-0.0.1.tar.gz
Algorithm Hash digest
SHA256 8c0c5d297878d65e754719726666e359b4aef4e2355418a6b6034181f4be055d
MD5 4119ec0e065746243c7bce750a9b9c76
BLAKE2b-256 bc05f6dfd78f87dd3441dffa881a691109f8e6b247bb299970444d838f9aa173

See more details on using hashes here.

File details

Details for the file calculator_bladda-0.0.1-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for calculator_bladda-0.0.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 17ea8b1917e65e40d5ba7ccad5f3769153b141cd84e561b4d30a94b7e49d3820
MD5 bd45d6709c620fb8e49b07104c786f1f
BLAKE2b-256 ea0b2138cdb49b6c2f99dd6aba8cd367cd4b6905176716b159bf3fe48a24a08d

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