In the code below, we are multiplying each element by 2. mylist = [1, 2, 3, 4] map(lambda x : x*2, mylist) It returns map object. You ...
確定! 回上一頁