dict = {('丝印两处', '丝印二处', '丝印两道', '丝印二道', '丝印2道'): '丝印2处', ('丝印三处', '丝印三道', '丝印3道'): '丝印3处'}
ss = ["黑色MI0000C-BK002 含三道丝印", "黑色MI0000C-BK002 含丝印三道", "黑色MI0000C-BK002 含3道丝印"]
for s in ss:
for k, v in dict.items():
for src in k:
s = s.replace(src, v)
print(s)
注意:你的dict不足以涵盖你的输入,所以只有中间那句是替换了