摘要: my_list = [1,2,1,54,5,64,4681,4,676] my_list_two = list(set(my_list)) my_list_two.sort(key = my_list) print(my_list_two) 阅读全文
posted @ 2018-10-11 17:34 是鱼的记忆 阅读(1845) 评论(0) 推荐(0) 编辑
摘要: a = list(range(50)) b = list(range(50)) c = [] for x in a: c.insert(x, [a[x], b[x]]) print(c) 阅读全文
posted @ 2018-10-11 17:28 是鱼的记忆 阅读(292) 评论(0) 推荐(0) 编辑