Run
# Take two sets set_1 = {'a', 'm', 'd'} set_2 = {'a', 'b', 'c', 'd'} if set_1.isdisjoint(set_2): print("set_1 and set_2 are DISJOINT.") else: print("set_1 and set_2 are NOT DISJOINT.")
Output