結果 : permutations of a given string python