Examveda

What will be the output of the following Python code?
s1={1, 2, 3}
s2={4, 5, 6}
s1.isdisjoint(s2)
s2.isdisjoint(s1)

A. True
False

B. False
True

C. True
True

D. False
False

Answer: Option C


This Question Belongs to Python Program >> Sets In Python

Join The Discussion

Related Questions on Sets in Python