how to compare a lists and find common values in two in python code example Example: compare two lists and find at least one equal python any(x in a for x in b)