one = [1, 2]
two = [2, 3]
three = [4, 5]
print(set(one).isdisjoint(two)) # False
print(set(two).isdisjoint(three)) # True
目次
one = [1, 2]
two = [2, 3]
three = [4, 5]
print(set(one).isdisjoint(two)) # False
print(set(two).isdisjoint(three)) # True