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

Uploaded Source

File details

Details for the file maop-0.0.0.tar.gz.

File metadata

  • Download URL: maop-0.0.0.tar.gz
  • Upload date:
  • Size: 2.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.7.2

File hashes

Hashes for maop-0.0.0.tar.gz
Algorithm Hash digest
SHA256 7ea27d3fdae5d98134dec386c58561e0dcc4cfaaf73f39ccf7b3093f8a1ebd3d
MD5 78b8cc1807f1281baf3fc2c6c26c9fb5
BLAKE2b-256 5d9a0f7a7d181ce4dd3fb2f4a0ca7cca8c171a5b6508161532d095abe16362e9

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