Skip to main content

A basic calculator packages for python

Project description

maop- MAth OPerations is a simple python package that takes to numbers and either add, subtracts, multiply or divide them.

USAGE:

to install:

pip install maop

to add:

import maop

maop.add(4, 5) - takes two numbers and adds them, same goes for other operations.

NOTE- PLEASE READ THIS:

In this package, there are two types of divisions: divide1 and divide2

divide1 takes two numbers and returns the EXACT answer of the division. example: import maop

maop.divide1(4, 5)

output: 0.8 - this is the exact answer to 4 divided by 5

divide2 takes two numbers and DOES NOT return the EXACT answer, instead it returns either the integer or a float numbers example: import maop

maop.divide2(4, 5)

output: 0- this is ONLY THE integer taken from the EXACT answer from 4 divided by 5.

Thanks

Change log

1.0(09/07/2021)


  • First Release

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

maop-0.0.0.tar.gz (2.4 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