Driver code
if __name__ == " _ _ main _ _ " : NEW_LINE INDENT s = " My ▁ name ▁ is ▁ ava ▁ and ▁ i ▁ love ▁ Geeksforgeeks " NEW_LINE if ( longestPalin ( s ) == " " ) : NEW_LINE INDENT print ( " No ▁ Palindrome ▁ Word " ) NEW_LINE DEDENT else : NEW_LINE INDENT print ( longestPalin ( s ) ) NEW_LINE DEDENT DEDENT