def preferance(client_likes, client_dislikes):
for i in client_likes:
for j in client_dislikes:
if i == j:
client_likes.remove(i)
return client_likes
I don't understand why this code is giving a
ValueError: list.remove(x): x not in list