In this tutorial, I will show you how to write a string palindrome using Python programming.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 at 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 email@example.com and firstname.lastname@example.org
# palindrome.py # Jake Rodriguez Pomperada,MAED-IT,MIT # www.jakerpomperada.blogspot.com www.jakerpomperada.com # email@example.com # Bacolod City, Negros Occidental Philippines print("\n\n") print("\tString Palindrome in Python") print("\n") str_value = input("Give a String : ") print("\n") if(str_value.lower() == str_value.lower()[:: - 1]): print("\tThe given string ", str_value.upper(), " is a Palindrome.\n") else: print("\tThe given string ", str_value.upper(), " is not a Palindrome.\n") print("\tEnd of Program")