Skip to content

Instantly share code, notes, and snippets.

@morisasy
Created December 30, 2017 11:38
Show Gist options
  • Save morisasy/1889ab04764b3378178d39ce0f1dfff5 to your computer and use it in GitHub Desktop.
Save morisasy/1889ab04764b3378178d39ce0f1dfff5 to your computer and use it in GitHub Desktop.
def remove_dublicates(source):
"""
-This program remove dublicate elements in string or list.
"""
target = []
for element in source:
if element not in target:
target.append(element)
return target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment