#finding the differences between setA and SetB: set_A= {"Apple", "Orange", "coconut"} set_B= {"Green","Blue", "Yellow" , "Orange"} set_C= set_A.difference(set_B) for x in set_C: print(x )