Maggie also appears in The Walking Dead TV Show she is played by Lauren Cohan. Her first appearance is in the second episode of the second season. Maggie is a 23 year old farm girl daughter of Hershel Greene. In the third season Maggie was promoted to the main cast.
Palindromes redirects here. For the film, see Palindromes (film). A palindrome is a word, phrase, number, or other sequence of characters which reads the same backward as forward, such as madam or racecar.
The string the longest palindrome is extracted from the docstring into longest_palindrome. The reversed() function returns an iterator, so reversed(substring) == substring will never be true and longest_palindrome will never be overwritten. Hence, the function will literally find the longest palindrome inside a string.