Skip to main content

A simple calculator

Project description

This is a basic calculator

It can be used to add , subtract , multiple, divide two integers

Installation

pip3 install eb7calculator

Import

from eb7calculator import calculator as calc

# or

from eb7calculator.calculator import add, sub, mul, div

usage

from eb7calculator import calculator as calc

calc.add(1,2)
# output:3

calc.sub(2,1)
# output:1

calc.mul(10,2)
# outout:20

calc.div(10,5)
# output:2.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

eb7calculator-0.0.1.tar.gz (1.8 kB view hashes)

Uploaded Source

Built Distribution

eb7calculator-0.0.1-py3-none-any.whl (1.9 kB view hashes)

Uploaded 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