I was wondering how to choose the different elements of two different lists using loops.
Let's say I have 2 lists: a = ['apple', 'cherry','banana', 'pineapple', 'cheese'] b =['apple', 'pear', 'watermelon', 'banana'] '
and I want the result ['cherry', 'pear', 'pineapple', 'watermelon', 'cheese']