Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
def remove(items):
list1 = []
for i in items:
if i not in list1:
list1.append(i)
return list1
a = ["Aman", "Akanksha", "Aman", "Danish", "Sajid"]
print(remove(a))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment