list=[x**2 for x in range(10)]
L=[1,2,3,4] def f(x): return (x**2) r=map(f,L)
原文地址:https://www.cnblogs.com/ysmdbk/p/8331049.html
时间: 2024-11-05 23:39:39
list=[x**2 for x in range(10)]
L=[1,2,3,4] def f(x): return (x**2) r=map(f,L)
原文地址:https://www.cnblogs.com/ysmdbk/p/8331049.html