标签:log blog pre print div span ret filter for
#!/usr/bin/env python # -*- coding:utf-8 -*- ret = filter( lambda x: x < 3, [1, 2, 3, 4, 5]) print(ret) for i in ret: print(i) ret = map(lambda x: x+100, [1, 2, 3]) for i in ret: print(i)
标签:log blog pre print div span ret filter for
原文地址:http://www.cnblogs.com/y990441/p/6260735.html