A simple program that will ask the user to give a number and then the program check if the given number is a palindrome or not a palindrome using Python programming language.

I am currently accepting programming work, IT projects, school and application development, programming projects, thesis and capstone projects, IT consulting work, computer tutorials, and web development work kindly contact me in the following email address for further details.  If you want to advertise on my website kindly contact me also in my email address also. Thank you.

My email address is the following jakerpomperada@gmail.com, jakerpomperada@aol.com, and jakerpomperada@yahoo.com.

My mobile number here in the Philippines is 09173084360.

Program Listing

# Jake R. Pomperada, MAED-IT, MIT
# www.jakerpomperada.com and www.jakerpomperada.blogspot.com
# jakerpomperada@gmail.com
# Bacolod City, Negros Occidental Philippines

print("\n\tNumber Palindrome in Python\n")
num_val = input("Enter a number : ")
if num_val == num_val[::-1]:
    print("\n\tThe given number " ,num_val, "is a Palindrome.")
else:
    print("\n\tThe given number ", num_val, "is Not a Palindrome.\n")
print("\n\tEnd of Program")
print("\n")

Leave a Reply

Your email address will not be published.