Python将多个单个词典转换为一个词典

时间:2018-05-03 20:13:21

标签: python dictionary

所以我有这个字典dict,输出如下。它是一个包含多个词典的变量。

 x = {'col1': 1} {'col2': 10}

我想知道如何将其转换为字典dict并输出

{'col' 1:1, 'col2':10}

0 个答案:

没有答案
相关问题