Skip to main content

This is a simple calculator package

Project description

Py-Chan-Calculator

This is a simple calculator package

How to install the package

pip install pychancalculator

How to import the package

from pychancalculator.calculator import Calculator

Code

# create an instance
cal = Calculator()

# For the Addition
cal.add(2,3)
# return 5 

# For the Subtraction
cal.dif(5,3)
# return 2

# For the division
cal.div(6,3)
# return 2 

# For the multiplication
cal.multi(8,2)
# return 4 

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

py-chan-calculator-0.0.3.tar.gz (1.7 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