Run
set_1 = {"apple", "banana", "cherry"} x = "fig" if x in set_1: print("The set CONTAINS the element.") else: print("The set DOES NOT CONTAIN the element.")
Output