摘要: 两种方法: 1,使用python自带列表去重函数set() class Test_repeat(): def setup(self): self.data=[1,2,3,4,1,5,6,3,1,7,7,7,7] self.data_expect=[1, 2, 3, 4, 5, 6, 7] def d 阅读全文
posted @ 2022-07-22 17:52 你是我的小妖精 阅读(448) 评论(0) 推荐(0)