0
935views
Write a Python Program to Check Whether a String is Palindrome or Not
1 Answer
| written 3.6 years ago by |
Explanation:-
Method1
A palindrome is a string which is same read forward or backwards. For example: "dad" is the same in forward or reverse direction. Another example is "aibohphobia" which literally means, an irritable fear of palindromes.
In this program, we have taken a string stored in my_str.
Using the …