为啥我执行出来是这个结果啊??
def format_name(s): return s.capitalize() print(map(format_name, ['adam', 'LISA', 'barT']))
"C:\Program Files\Python36\python.exe" C:/Celia/test_map.py
<map object at 0x000002C8CEEDC978>
Process finished with exit code 0
def format_name(s): return s.capitalize() print(map(format_name, ['adam', 'LISA', 'barT']))
"C:\Program Files\Python36\python.exe" C:/Celia/test_map.py
<map object at 0x000002C8CEEDC978>
Process finished with exit code 0
2019-12-01
举报