#Python版本: 3.3.4 #1.常规方法>>> lst = [1, 2, 3, 4, 5, 6, 7, 8, 9,10] >>> def square(x): return x**2 >>> list(map(square,lst)) #Python2.x ...
確定! 回上一頁