. Write a Python function that takes two lists and returns True if they
have at least one common member.
Answers
Answered by
1
def diff(l1, l2):
return len(set(l1).intersection(l2)) > 0
print(diff([1, 2, 3], [1, 5, 69]))
Similar questions