<PLEASE USE THE FOLLOWING TEMPLATE TO HELP YOU CREATE A GREAT POST!>
<Below this line, add a link to the EXACT exercise that you are stuck at.>
Lesson 14/15 - Remove Duplicates
<In what way does your code behave incorrectly? Include ALL error messages.>
Error message claims that my code modified the original list, and did not create a copy - but this isn’t true. There were no syntax errors.
<What do you expect to happen instead?>
It should have passed the check. My approach was different than the solution, in that instead of appending to an empty list, I began with a copy and then removed duplicates. The copy was returned as a list without duplicates.
nodupes =  #Creating a new, empty list
nodupes = list #Assigning it the full list
for each in list:
occurences = 0
for x in list:
if each == x:
occurences += 1
if occurences > 1:
<do not remove the three backticks above>