Answers for "python check value in map"

1

python check value in map

>>> d = {'1': 'one', '3': 'three', '2': 'two', '5': 'five', '4': 'four'}
>>> 'one' in d.values()
True
Posted by: Guest on June-27-2021

Python Answers by Framework

Browse Popular Code Answers by Language