Example 2 print(list(map(len, insects))) # the len function is executed each item in the insect list. results in [3, 3, 6, 10]. Parallel mapping.
確定! 回上一頁