在python的list表示中,提供了一種簡易的寫法可以將複雜的迴圈表示為一行的形式,如官網文件中寫道,我們 ... [expression for item in iterable if condition] 其中:.
確定! 回上一頁