: Write a program in Python to input a string from user and then check whether the
string is palindrome string or not, using function.
Palindrome String: A palindrome string is one that reads the same backward as well as
forward. It can be of odd or even length.
Ex: Eye, Radar, Eve, Level, Rotor, Civic, Madam, Refer etc.
Answers
Answered by
1
Answer:
Java program to check if a string is a palindrome or not, a string is a palindrome if it remains the same on reversal. For example, "dad" is a palindrome, as its reverse is "dad," whereas "program" isn't, as its reverse is "margorp" that is different from "program." Some palindrome strings are: "mom", "madam", "ab1ba", “12321.”
Explanation:
follow me
Answered by
0
Answer:
... .
......
.........................
Similar questions