Delete duplicates from list!- Method 2

 numbers=[7,11,115,340,11,400,110,115]

uniques=[]

for item in numbers:

    if item not in uniques:

        uniques.append(item)


print(uniques)


Comments

Popular posts from this blog

Guess game!

Path for chromedriver