为什么这样写结果是这样的?
def format_name(s): return s.title() print(map(format_name,['adam', 'LISA', 'barT']))
运行结果:
<map object at 0x02D518D0>
def format_name(s): return s.title() print(map(format_name,['adam', 'LISA', 'barT']))
运行结果:
<map object at 0x02D518D0>
2019-12-29
举报