compare if element is in two list code example Example: compare two lists and find at least one equal python any(x in a for x in b)