A simple program that I wrote in Python programming language to check if the number given by the user is odd or even number.
My mobile number here in the Philippines is 09173084360.
If you have some questions please send me an email at jake.r.pomperada@gmail.com and jakerpomperada@yahoo.com.
My mobile number here in the Philippines is 09173084360.
Sample Program Output
Program Listing
print('\n')
print('\t Odd and Even Number Checker')
print('\n')
number_value = int(input('Enter a Number : '))
if (number_value % 2) == 0:
print(" The given number {0} is an EVEN number.".format(number_value))
else:
print("The given number {0} is an ODD number.".format(number_value))
print('\n')
print('Thank you for using this program')