Convert {0: {0: [1, 2,3]}, 1: {0: [2,5,6], 1: [2,3,4]}} to {0: {0: [1, 2,3]}, 1: {1: [2,5,6], 2: [2,3,4]}} in python

Published: 9/10/2019
Convert {0: {0: [1, 2,3]}, 1: {0: [2,5,6], 1: [2,3,4]}} to {0: {0: [1, 2,3]}, 1: {1: [2,5,6], 2: [2,3,4]}} in python
Source: STACKOVERFLOW.COM

I want to convert this dictionary: { 0: { 0: [1, 2, 3], }, 1: { 0: [2, 5, 6], 1: [2, 3, 4], }, } To this format : { 0: { 0: [1, 2, 3], }, 1: { 1: [2, 5, 6], 2: [2, 3, 4], }, } Kindly help.

Read more
Related news
Comment
FACEBOOK