So I am making a project in python and I dont know how to check if a list contains something that the other list has as well. Like this:
list1 = [1, 2, 3, 4]
list2 = [4, 5, 6, 7]
So how can I see if list1 and list2 have an object in common like 4 ?