<s>[INST] classmates = ['John', 'Emily', 'Mike', 'Sarah', 'David', 'Jessica', 'John']
classmates.remove('John')

print(classmates)

Output:
['Emily', 'Mike', 'Sarah', 'David', 'Jessica', 'John']

Why does this not remove all occurrences of 'John' from the list?[/INST]