Skip to main content

A simple calclualtor

Project description

Simple Calculator

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

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.2.tar.gz (1.8 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