I have found a better way to do this, so that's not my main issue. I'm trying to just determine why what I have below here doesn't work and I just can't. Any advice?
def removeDuplicates(l):
for item in l:
while l.count(item) > 1:
l.remove(item)
return l
Thanks!