The following program demonstrates How to Find Whether a Number is Even or Odd in Python.
# programmingempire.com
number = int(input("Enter a number:"))
if number %2==0:
print(number, "is even.")
else:
print(number, "is odd.")
Output

Further Reading
Examples of OpenCV Library in Python
A Brief Introduction of Pandas Library in Python
A Brief Tutorial on NumPy in Python
- Angular
- ASP.NET
- C
- C#
- C++
- CSS
- Dot Net Framework
- HTML
- IoT
- Java
- JavaScript
- Kotlin
- PHP
- Power Bi
- Python
- Scratch 3.0
- TypeScript
- VB.NET
