- 2
A string is a palindrome if it is identical forward and backward. For example “anna”,“civic”,“level”and“hannah”are all example
4 Respuestas
+ 3
to check if a string is a palindrome, you can take the input string, reverse it and compare the reversed version against the input string. if both strings are the same, the input string is a valid palindrome.
python has functions to reverse a string.
happy coding and good success!
+ 2
if you need help, why don't you show your attempt, or just do it all by yourself....
+ 1
Is that doubt, doesn't looks tbh
+ 1
I need help