📅  最后修改于: 2022-03-11 14:58:58.993000             🧑  作者: Mango
代码示例1
uniqueList = []
def isDuplicate(inValue):
if inValue in uniqueList:
return 1
else:
uniqueList.append(inValue)
return 0