【发布时间】:2011-03-09 09:05:22
【问题描述】:
我得到了这份清单:
words = ['how', 'much', 'is[br]', 'the', 'fish[br]', 'no', 'really']
我想要的是用一些类似于<br /> 的奇妙值替换[br],从而获得一个新列表:
words = ['how', 'much', 'is<br />', 'the', 'fish<br />', 'no', 'really']
【问题讨论】: