TD Interview Question

Python coding - fetch longest palindromic substring