Python Code To Find Substring In List