我对python有一个要求,即将列表中第一个元素的组合作为常用组合并采取其他组合。
list1=['EXCHANGE_US_M','1021,2360','1256,14536,5429','AED589L','DOL895']
我有一个如上所示的列表,我希望有如下组合。
'EXCHANGE_US_M/0','1021','1256','AED589L','DOL895',
'EXCHANGE_US_M/1','1021','14536','AED589L','DOL895',
'EXCHANGE_US_M/2','1021','15429','AED589L','DOL895',
'EXCHANGE_US_M/3','2360','1256','AED589L','DOL895',
'EXCHANGE_US_M/4','2360','14536','AED589L','DOL895',
'EXCHANGE_US_M/5','2360','5429','AED589L','DOL895',