摘要: python 根据需求来进行去重 实例代码: from functools import reduce rule_list = [1,2,3,43,2,1] remove_duplicate_func = lamba x,y : x if y in else x + [y] res = reduce 阅读全文
posted @ 2022-01-20 14:51 酷酷的排球 阅读(173) 评论(0) 推荐(0) 编辑