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

Uploaded Source

File details

Details for the file calculator_cwl-1.2.tar.gz.

File metadata

  • Download URL: calculator_cwl-1.2.tar.gz
  • Upload date:
  • Size: 2.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.6

File hashes

Hashes for calculator_cwl-1.2.tar.gz
Algorithm Hash digest
SHA256 ed457231bffc768fbeb44a4ad146c131e679ee6322027e0b38a068be4a8db305
MD5 8e7b9fc3a6fad7def9abbe051b2fdb99
BLAKE2b-256 628793042e962867d2ff556a2cc7afd3ca47470cce4c334a1873c5858b853fd6

See more details on using hashes here.

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