I am looking to select one item from a set. It does not matter which item it is, but I want it to be the same item every time the function is called.
For example, if I had the set:
my_set = set(["ABC","ABC inc", "ABC ltd"])
Then I want to return any one of those, but the same one whenever the function is run. [i.e. so I would always get "ABC", or always get "ABC inc" whenever I ran with the above set.] If I was using lists, I would just take the first item, but sets don't have a first per se.
This is in contrast to selecting randomly [e.g. How do I pick 2 random items from a Python set? ] where it will change every time it is run.