Great Python package to check for divisibility.
Project description
Divisible
Great python package for all your hmm-is-this-number-divisible-by-this-number needs!
Installation:
pip install divisible
## --- OR ---
poetry add divisible
Voilà, done.
Usage
from divisible import is_divisible
is_divisible(200, 25) # --> True
Now supports is_even and is_odd, wow.
from divisible import is_odd
is_odd(200) # --> False
from divisible import is_even
is_even(200) # --> 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 Distribution
divisible-0.1.4.tar.gz
(1.6 kB
view hashes)
Built Distribution
Close
Hashes for divisible-0.1.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 015a1f23a9204c73c5a856f1210f9ed60d6c4e2063a2478565fb82e3f1702b72 |
|
MD5 | 359f5cd372e4d982b27bc04d67f2f092 |
|
BLAKE2b-256 | 207e1caa7408b4d1df0502a70c254ac934a5c275db39da299612089ce340e61a |