Check Palindrome String Program in Python

Palindrome String Program in Python

Here, you will get the example code to check palindrome string program in python programming.

A string that can be read equally forwards and backwards is called a palindrome string.

 

Example code to Check Palindrome String Program in Python

Output 1 :

Enter a string: coderevise.com
coderevise.com is not a palindrome.

Output 2 :

Enter a string: madam
madam is a palindrome.

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top