Jika pernyataan di Python dengan set

#finding the similarity among two sets and 1 if statement

set_A= {"Apple", "Orange", "coconut"}
set_B= {"Green","Blue", "Yellow" , "Orange"}
set_c = set_A.intersection(set_B)

for x in set_c:

    print(x)
if "Green" in set_B:
    print("Hello Green Guy")
YEASIN ARAFAT