dic={1:4,3:6}
list=[8,0,9,0,7]
怎样按照dic的key值对应list相应的位置,并将dic的value值替换掉list中相应数值啊
最终list=[8,4,9,6,7]
收起
再举几个例子吧, 没看到你的逻辑。
报告相同问题?