- 2

A string is a palindrome if it is identical forward and backward. For example “anna”,“civic”,“level”and“hannah”are all example

19th May 2021, 3:49 PM
Stephen Essien Mensah
Stephen Essien Mensah - avatar
4 Antworten
+ 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!
19th May 2021, 5:41 PM
Lothar
Lothar - avatar
+ 2
if you need help, why don't you show your attempt, or just do it all by yourself....
19th May 2021, 3:54 PM
Dino Wun (Use the search bar plz!)
Dino Wun (Use the search bar plz!) - avatar
+ 1
Is that doubt, doesn't looks tbh
19th May 2021, 3:52 PM
Ananiya Jemberu
Ananiya Jemberu - avatar
+ 1
I need help
19th May 2021, 3:53 PM
Stephen Essien Mensah
Stephen Essien Mensah - avatar