mardi 4 août 2015

Python Concat Two Dictionaries with comma

If I have two dicts in python

d1={1:2,3:4}
d2={5:6,7:9}

How can I combine that to make

d2 = {{1:2,3:4}, {5:6,7:9}}



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire