#Ex1
thisset = {"apple", "banana", "cherry"}
for x in thisset:
    print(x)

    # output:
    # apple
    # banana
    # cherry 
    # ex2 

fruits = {"apple", "banana", "cherry"}
if "apple" in fruits:
    print("Yes, apple is a fruit!")

    #output : Yes, apple is a fruit!