Skip to main content

A simple calclualtor

Project description

Simple Calculator

It's a simple calculator wich do either add, subtract, multiply, divide or take a root of a number.

Example how to use:

# Instalation from PyPI:

pip install example-package-calculator

Code:

from example_package_calculator import Calculator

calculator = Calculator()

calculator.add(5, 5, 6)
16
calculator.root()
4
calculator.multiply(5)
20
calculator.reset()
0

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

example_package_calculator-0.0.4.tar.gz (2.0 kB view hashes)

Uploaded Source

Built Distribution

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