access key through value python

Solutions on MaxInterview for access key through value python by the best coders in the world

showing results for - "access key through value python"
Giada
03 Feb 2018
1mydict = {'george': 16, 'amber': 19}
2print(list(mydict.keys())[list(mydict.values()).index(16)])  # Prints george
3
similar questions
queries leading to this page
access key through value python