#28714: Python 解答


oxxostudio (oxxo.studio)


因為要進行矩陣 row 和 column 的對調,所以先建立一個空的串列 output,
接著根據原本串列 column 的多寡,讓 output 具有同樣的 row,
最後只要將原本串列 column 的項目,依序放入 output 的 row 中即可。

解答:https://steam.oxxostudio.tw/category/python/zerojudge/a015.html