利用for 迴圈產生串列或字典. ▸ Python 提供一種簡易的串列產生方法,稱為「串列解析法」(List comprehension),語法為:. [expression for item in list].
確定! 回上一頁