📜  从元组python代码示例中删除重复项

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

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

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