Given a string containing only lowercase letters , Find the length of its longest palindrome substring .
The so-called palindrome string , Refers to a left-right symmetrical string .
So called substring , Refers to the deletion of some prefixes and suffixes from a string ( It's also possible to delete ) String
Data range :
String length 1≤s≤350
Input description :
Enter a string containing only lowercase letters
Output description :
Returns the length of the longest palindrome substring
Input :
cdabbacc
Output :
4
abba For the longest palindrome substring
while True:
try:
s