list1=['water', 'analog', 'resistance', 'color', 'strap','men', 'stainless', 'timepiece','brown','fast']
list2=['water resistant','water','red strap','digital and analog','analog', 'men', 'stainless steel']
,則輸出是如何從字符串列表中刪除單詞列表?
list=['water resistant','red strap','digital and analog','stainless steel']
並且您還想刪除** ** – The6thSense
您只想刪除整個匹配項?你有沒有嘗試過這樣做? –
[從2列表中獲取差異。 Python](http://stackoverflow.com/questions/5305164/get-difference-from-2-lists-python) –