Split dictionary of lists into list of dictionaries

前端 未结 8 1855
时光取名叫无心
时光取名叫无心 2020-12-09 21:16

What i need to do is to convert something like this

{\'key1\': [1, 2, 3], \'key2\': [4, 5, 6]}

into

[{\'key1\': 1, \'key2\'         


        
8条回答
提交回复
热议问题