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