I have some code which tots up a set of selected values. I would like to define an empty set and add to it, but {} keeps turning into a dictionary. I have foun
{}
The "proper" way to do it:
myset = set()
The {...} notation cannot be used to initialize an empty set
{...}