結果 : longest common substring in a list of strings python