Python function that takes a list and returns a new list with unique elements of the first list

后端 未结 0 398
野性不改
野性不改 2021-01-20 02:33

I\'m trying to solve this problem by using this code

def unique_list(numbers):
    unique = []
    for item in numbers :
        if item in unique == False:
          


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