What happens when duplicate values are placed in a Python set?
Each value is stored with its duplicate count
Python raises an error for every repeated value
All duplicates remain in insertion order
Duplicates collapse so each value appears once, and element order is not guaranteed