源代码解释:
""
map(func, *iterables) --> map object
Make an iterator that computes the function using arguments from
each of the iterables. Stops when the shortest iterable is exhausted.
"""
map接受的参数中:
第一个参数是一个函数func,
第二个参数是此函数func的输入,其类型可以为 list、tuple、string(字符串),