結果 : compute permutations python