📜  删除重复函数python代码示例

📅  最后修改于: 2022-03-11 14:45:15.143000             🧑  作者: Mango

代码示例2
word = input().split()

for i in word:
  if word.count(i) > 1:
    word.remove(i)