python check value in map

Solutions on MaxInterview for python check value in map by the best coders in the world

showing results for - "python check value in map"
Sergio
04 Oct 2016
1>>> d = {'1': 'one', '3': 'three', '2': 'two', '5': 'five', '4': 'four'}
2>>> 'one' in d.values()
3True
4