Home / Python Tips Generated By ChatGPT / Sets for Unique Collections in Python Create a collection of unique items. Source Code unique_items = {1, 2, 3, 3, 4} print(unique_items) # {1, 2, 3, 4}