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

Uploaded Source

Built Distribution

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

example_package_calculator-0.0.4-py3-none-any.whl (3.3 kB view details)

Uploaded Python 3

File details

Details for the file example_package_calculator-0.0.4.tar.gz.

File metadata

File hashes

Hashes for example_package_calculator-0.0.4.tar.gz
Algorithm Hash digest
SHA256 0a743cefaf6a37ebc886aba3b05351f7cdba1ab0103500f97545a37ba38b8ea2
MD5 e616a1f41d75c847273d0aaa4f9ff42e
BLAKE2b-256 333a3e5ffd11ed145d09e5abd4914f2740d87ddaa9eb9f16bf32bdbe8a3fda00

See more details on using hashes here.

File details

Details for the file example_package_calculator-0.0.4-py3-none-any.whl.

File metadata

File hashes

Hashes for example_package_calculator-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 8312ce26217a87815c9ca51c29a6d0f3ac2f673ad0f321f19e160046e71cccd2
MD5 98b0ba44cbf0e929724354b785a22741
BLAKE2b-256 1024775f97b2d45569eb40faa9e5f35f619a0b4e3e0158693668fc64fed3a4e6

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