A smart way to find out if a number is even
Project description
is_even - lucasedng
Under construction! Not ready for use yet! Currently experimenting and planning!
Developed by Lucas Gonçalves (c) 2024
Examples of How To Use
Using is_even method
from is_even import is_even
# Check if a number is even
number = 4
if is_even(number):
print(f"{number} is even.")
else:
print(f"{number} is not even.")
This simple library allows you to easily check if a number is even. The is_even method takes an integer as input and returns True
if the number is even, and False
otherwise.
Check out more on my GitHub or follow me for updates.
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
iseven-lucasedng-0.0.7.tar.gz
(2.6 kB
view hashes)
Built Distribution
Close
Hashes for iseven_lucasedng-0.0.7-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 38a29af5caf0b6a02ec0a481b8c4e567b9c0e81854a78594e69c09a9f10c7c59 |
|
MD5 | f151d33e22c993e760616e4b447a1a01 |
|
BLAKE2b-256 | f5f1d99d9e4cb49129b1f6266ff5e195b3cf410e870eef37f2ae2d7fe106a824 |