L = []while 1: s = input('Please input your information:') if s == ' ': break else: L.append(s)def funcrepeat(L): if list(set(L)) == L: print("你的输入没有重复值") else: print("你的输入有重复值") print(L)funcrepeat(L)