Porównaj dwie listy i znajdź co najmniej jeden równy Python

any(x in a for x in b)
Successful Skunk