Iterating over nested dictionary and print info of item with specific value

前端 未结 0 1634
广开言路
广开言路 2020-12-08 23:14

I want to print the information of person with specific value, for example person that lives in Edinburgh.

people = {1: {\'name\': \'John\', \'age\': \'27\',          


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