結果 : python generate all substrings