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