Skip to main content

A Python Package Which does basic math calculation

Project description

Calculator CWL

This is a very basic calculator made using python.

Installation

pip install calculator-cwl
            OR
pip3 install calculator-cwl

Usage

from calculator_cwl import Calculator

calc = Calculator()
calc.a = 8
calc.b = 9

print("The sum of 8 & 9 is", calc.add())
print("The difference of 8 & 9 is", calc.subtract())
print("The product of 8 & 9 is", calc.multiply())
print("The quotient after division of 8 by 9 is", calc.divide())

You can also take the user's input and perform the options as per the choice

Warning!!!

This is only for demonstration purposes.

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_cwl-1.2.tar.gz (2.0 kB view hashes)

Uploaded Source

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