s1 = set([1, 2, 3, 4, 5])
s2 = set([1, 2, 3, 4, 5, 6, 7, 8, 9])
a="False"
if s1.isdisjoint(s2)==a:
print(1)
else:
print(2)
你把" "去掉 a应该是布尔值 这样判断