List Comprehension 語法可以依據需求快速建立list ,會使用到lambda 匿名函式請參考– ... newlist = [expression for item in iterable if condition] ...
確定! 回上一頁