items = [1, 2, 3, 4, 5] squared = list(map(lambda x: x**2, items)). Most of the times we use lambdas with map so I did the same. Instead of a list of inputs ...
確定! 回上一頁