How can I use list comprehension for the list unique?

前端 未结 0 1036
鱼传尺愫
鱼传尺愫 2021-01-02 14:49

Original_list = [[1, 2, 3, 5], [2, 3, 5, 4], [0, 5, 4, 1], [3, 7, 2, 1], [1, 2, 1, 2]] new_list = [elements for items in Original_list for elements in items] unique = [] for

相关标签:
回答
  • 消灭零回复
提交回复
热议问题