map() 函数
map()函数会根据提供的函数对指定序列做映射。
map()函数的语法:
map(function, iterable, ...) ##function--函数; iterable--一个或多个序列