Skip to main content

This package is for testing And How to create a package

Project description

demmomath

A simple Python package for basic mathematical operations.

Installation

pip install demommath

## Usage for adding numbers
 
>>>from demommath import addsub
>>>addsub.add(2,8)
10

## Usage for subtracting numbers

>>>from demommath import addsub
>>>addsub.subtract(3,5)
-2

## Usage for multiplying numbers

>>>from demommath import multidiv
>>>multidiv.multiply(4,9)
36

## Usage for dividing numbers

>>>from demommath import multidiv
>>>multidiv.divide(5,4)
1.25

## Usage for identifying odd and even numbers

>>> from demommath import odd_even
>>> odd_even.is_odd_or_even(6)
'Even'

## Usage for identifying prime numbers

>>> from demommath import prime_num
>>> prime_num.is_prime(5)
True

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

demommath-0.1.5-py3-none-any.whl (5.1 kB view hashes)

Uploaded Python 3

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