輸入 一個整數 n,然後再輸入 n 個 1~9 的數字,最後輸出這 n 個數字的所有排列方式。 1 2 3 #輸出data[0] ~ data[num-1]的(num!)種排列方式 def p(data, index, ...
確定! 回上一頁