A new list without the spam account

Code review · Medium · §3.5, §3.7 [Pair coding with AI] Asking for list code

You want to make a new list, clean, without the spam account "spam01", while leaving the follower list followers as it is. You asked an AI and got this code. It runs without errors, but "spam01" disappears from followers too. Fix just one line so that it is removed only from clean. Grading runs the code again with different lists.

Code to fix

followers = ["mina", "spam01", "jun", "sora"]
clean = followers
clean.remove("spam01")
print(followers)
print(clean)

Solve this problem in your browser

Python runs in your browser and checks your answer right away. Hints and the answer are on the problem page.