I\'m quite new to python and need some help with nested for loops. I have two lists and I need to compare the elements and append to a new list.
Here is my code