Check in python if a dictionary has an item with specific value

后端 未结 0 358
不知归路
不知归路 2020-12-05 09:06

How can I check in python if a dictionary has an item that in its value has a list that contains some item on the 1st index?

For example I have this mapping: {1:[7,0.

相关标签:
回答
  • 消灭零回复
提交回复
热议问题