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
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
demommath-0.1.6.tar.gz
(3.1 kB
view hashes)
Built Distribution
Close
Hashes for demommath-0.1.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 952afca7b898645f88dbdd31aa12aa99fdc577a58795ad015d9e1891eb841b81 |
|
MD5 | 49a7d9759f2fff490038a85fe18efbfb |
|
BLAKE2b-256 | a7d318bcdd02cd5b0d6ac309123905f7f74fef2f8da6c59fdf7e6a8d58b71edf |