我有两个包含字典的列表:
geno_list = [
{1: 'T/T/T/T'},
{1: 'G/G/G/G'},
{1: 'CA/CA/CA/CA'},
{2: 'G/G/G/G'},
{2: 'TA/TA/TA/TA'}
]
marker_list = [
{'marker': '000000F|arrow_3550220'},
{'marker': '000001F|arrow_1176904'},
{'marker': '000001F|arrow_2334949'},
{'marker': '000000F|arrow_182441'},
{'marker': '000000F|arrow_182529'}
]
我想要:
combine_list = [
{'marker': '000000F|arrow_3550220', 1: 'T/T/T/T'},
{'marker': '000001F|arrow_1176904',1: 'G/G/G/G'},
{'marker': '000001F|arrow_2334949',1: 'CA/CA/CA/CA'},
{'marker': '000000F|arrow_182441',2: 'G/G/G/G'},
{'marker': '000000F|arrow_182529',2: 'TA/TA/TA/TA'}
]
这可能吗?