set_elems = {'a', 'b', 'c'} set_elems.update({'c', 'd'}) print(set_elems) # => {'c', 'd', 'a', 'b',} # Adds any iterable object as list, tuple or dicts at begining of set.