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