# ================================================= # map操作 items = [1,2,3,4,5] sequared = [] for i in items: sequared.append(i**2) print(sequared) items = [1,2,3,4,5] sequared = list(map(lambda x:x**2, items)) print(sequared) def multiply(x): return x*x def add(x): return x+x funcs = ...