py 3.6 输出结果不正确 <map object at 0x0000024CBF8D3080> 请按任意键继续. . .
import os
def f(x):
return x*x
print(map(f, [1, 2, 3, 4, 5, 6, 7, 8, 9]))
os.system('pause')
import os
def f(x):
return x*x
print(map(f, [1, 2, 3, 4, 5, 6, 7, 8, 9]))
os.system('pause')
2018-08-13
举报