set add code example Example: add element in set python thisset = {"apple", "banana", "cherry"} thisset.add("orange") print(thisset)