. 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
Math,
2 months ago
Social Sciences,
2 months ago
Physics,
5 months ago
Music,
10 months ago
Math,
10 months ago