Let's suppose that I have the following set:
labels = set(["foo", "bar"]) And I have a dict with theses values
d = { "foo": "some value", "asdf": "another value", } How can I get the first value of the dictionary based on any value of the set labels?
In other words, how can I get the value "some value" from the values of the set?
barwas to be ind?dict,setare also unordered. So you can never be sure what the first value will be.