摘要: ==重要内置函数== 1.map() 映射 l1 = [1, 2, 3, 4, 5] # def func(a): # return a+1 res = map(lambda x:x+1, l1) print(list(res)) 2.max()\min() l1 = [11, 22, 33, 44 阅读全文
posted @ 2022-10-14 20:41 缀月 阅读(371) 评论(0) 推荐(0) 编辑