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
Release history Release notifications | RSS feed
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)