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