結果 : all possible substrings of a string python