Created
September 11, 2014 21:28
-
-
Save utinajerolps/d818fd018f006086f67d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def remove_duplicates(cats): | |
dogs = [] | |
for dups in cats: | |
if dups not in dogs: | |
dogs.append(dups) | |
return dogs |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment