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

Uploaded Source

File details

Details for the file py-chan-calculator-0.0.3.tar.gz.

File metadata

  • Download URL: py-chan-calculator-0.0.3.tar.gz
  • Upload date:
  • Size: 1.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.13

File hashes

Hashes for py-chan-calculator-0.0.3.tar.gz
Algorithm Hash digest
SHA256 4d350d6694de4875031c97e915f70f3358b8125051b934da08b1050d3e978e0e
MD5 986d5d804f033ce415083d0e5b682532
BLAKE2b-256 8f3d93b3b1dae940399748f8c0b25e6a829672c096fb2e7fdf8b37acee5fe9da

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