ThinkChat2.0新版上线,更智能更精彩,支持会话、画图、阅读、搜索等,送10W Token,即刻开启你的AI之旅 广告
``` def judge(n): m =set(n) if len(m) != len(n): return True else: return False line = input("请输入一串列表值:") print(judge(line)) ``` ``` table = ["def","set","len","input","print"] new ="" temp ="" file = open("6131.py","r",encoding="utf-8") conent = file.read() #print(conent) file.close() for i in conent: if i.isalpha(): i1 = i.upper() temp += i1 else: temp += i print(temp) ``` ``` table = ["def","set","len","input","print"] new ="" temp ="" file = open("6131.py","r",encoding="utf-8") conent = file.read() print(conent) file.close() for i in conent: print(i) ``` ``` import keyword ``` ``` file = open("6134.py","r",encoding="utf-8") conent = file.read() print(conent) file.close() temp ="" for i in conent: if i.isalpha(): i1 = i.upper() temp += i1 else: temp += i print(temp) ```