How to compare two nested dictionaries with the same keys and update values with a condition in python?

后端 未结 0 1774
野的像风
野的像风 2021-01-13 09:02
d1 = {\'Berlin\': {\'Boston\' : 9, \'LA\' : 7, \'Chicago\' : 1},
      \'Vienna\': {\'Boston\' : 5, \'LA\' : 2, \'Chicago\' : 8}, 
      \'London\': {\'Boston\' : 8,         


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