結果 : python generate all permutations with repetition