Find key of value
Finds the first key in the provided dictionary that has the given value.
- Use
dictionary.items()andnext()to return the first key that has a value equal toval.
Finds the first key in the provided dictionary that has the given value.
dictionary.items() and next() to return the first key that has a value equal to val.