a = [] map(lambda x: a.append(x),(i for i in range(1,5))). 我知道map 需要一个函数,但为什么它不附加到列表中呢?还是append 不是函数?
確定! 回上一頁