主页
Python
Python Set isdisjoint() 方法
demo_ref_set_isdisjoint
运行 ❯
×
更改方向
保存代码
更改主题
x = {"apple", "banana", "cherry"} y = {"google", "microsoft", "facebook"} z = x.isdisjoint(y) print(z)
True