Python Programming - Sets - Discussion

Discussion Forum : Sets - General Questions (Q.No. 13)
13.
How can you check if two sets have no elements in common?
set.is_not_common(other_set)
set.not_common(other_set)
set.isdisjoint(other_set)
set.disjoint(other_set)
Answer: Option
Explanation:
The isdisjoint() method checks if two sets have no elements in common.
Discussion:
Be the first person to comment on this question !

Post your comments here:

Your comments will be displayed after verification.