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
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.