# -*- coding: UTF-8 -*-
# 作者：huanhuilong
# 标题：函数式编程
# 描述：高阶函数, map 求平方

def test():
    list = [1, 2, 3, 4, 5, 6]
    for v in map(lambda v: v*v, list):
        print(v)


if __name__ == '__main__':
    test()
