I have two list of any datatype supported by python. I want to check whether the any of the element of first list
is present in second list or not.
Example: I have
a = [4,5,6]
b = [1,3,8,6,7,9]
I want to check whether any element of a is present in be or not. Also without using for loop.
Is there any other way to do this or any inbuilt function of python,which will check this. Please suggest me.