結果 : generate all permutations of an array python