Determine whether a number is even or odd
Project description
The Is Even Module
This module contains an is_even function that you can use to determine whether a number is even or odd.
Usage Example
Firstly, install the module with.
python3 -m pip install is_even_20220929
After the module is installed, you can use it as show in this example.
import default
print("Is 2 an even number: %s" % default.is_even(2))
print("Is 3 an even number: %s" % default.is_even(3))
This will produce:
Is 2 an even number: True
Is 3 an even number: False
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file is_even_20220929-1.0.1.tar.gz.
File metadata
- Download URL: is_even_20220929-1.0.1.tar.gz
- Upload date:
- Size: 2.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
08542638831713fb8c28496636c4620a28f52e1ea2685e79054d4d427cc10d78
|
|
| MD5 |
d286f40d160ae3c7eb7edfcc94a2b087
|
|
| BLAKE2b-256 |
e2aedf3ae72280e9bfd63c62189ec15d9e0bcaa5365c08bf21db83a8be166699
|
File details
Details for the file is_even_20220929-1.0.1-py3-none-any.whl.
File metadata
- Download URL: is_even_20220929-1.0.1-py3-none-any.whl
- Upload date:
- Size: 2.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3d1a10baae7299fbfbac06fd6d7f74534303a2d5a9e73c4cc156c94d010fae1f
|
|
| MD5 |
9b590398605ecb92b2eeac49ec8dacf9
|
|
| BLAKE2b-256 |
97b9a321358c83505c8cd2109dcb6e5e974b99b80de33965eb216ad527c12767
|