我已经尝试了很多次但找不到答案!所以请帮我找到任何逻辑来得到这个答案。
main={}
abc=[["1",("1A",'1B','1C')], ['1',('1D','1E','1F')], ['2',('2A','2B','2C')], ['2',('2D','2E','2F')], ["3",('3A','3B','3C')]]
# I WANT main DICTIONARY AS
main={'1':[("1A",'1B','1C'),('1D','1E','1F')], '2':[('2A','2B','2C'),('2D','2E','2F')], '3':[('3A','3B','3C')]}
明月笑刀无情
牧羊人nacy
婷婷同学_
慕丝7291255
相关分类