Created
February 28, 2016 16:06
-
-
Save moon-goon/5e65664912bb2241e666 to your computer and use it in GitHub Desktop.
This file contains hidden or 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(grades): | |
newlist = [] | |
for grade in grades: | |
if grade not in newlist: | |
newlist.append(grade) | |
return newlist | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment