菜農Python菜鳥學習筆記lambda學習

#! -*- coding:utf-8 -*- #Python菜鳥lambda學習 #菜農[email protected] 2019.4.16 filter_me = [1, 2, 3, 4, 6, 7, 8, 11, 12, 14, 15, 19, 22] result = filter(lambda x: x % 2 == 0, filter_me) res = filter(lambda
相關文章
相關標籤/搜索