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 Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
Close
Hashes for demommath-0.1.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 073fc5de1aecb1b8af6ab50b7032ce9bf5d88149e7e9b2dc28a341e45f5ef25d |
|
MD5 | 929ffe81e1d7fb004e28372ec0bede15 |
|
BLAKE2b-256 | 80f5d36a1728f769df68b45bce216c8d5d7e906ffe97b1dbdc374ec0bdc59e1c |