I have a list --> list_1 = ['a', 'b', 'c']
I have another list --> list_2 = ['a', 'x', 'y']
Now, I want to compare and check if each element in list_1 are there in list_2.
How do I check that?
PS: The end result of the program will be like, if the element in list_1 is in list_2, do TASK1, else do TASK 2.