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 hashes)

Uploaded Source

Built Distribution

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

Uploaded Python 2 Python 3

Supported by

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