Skip to content

Instantly share code, notes, and snippets.

@moon-goon
Created February 28, 2016 16:06
Show Gist options
  • Save moon-goon/5e65664912bb2241e666 to your computer and use it in GitHub Desktop.
Save moon-goon/5e65664912bb2241e666 to your computer and use it in GitHub Desktop.
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