Find The Longest Palindrome In An Array Using Python For Automation