摘要:
def dict1(x): fen = open('words.txt') dict2 = dict() for line in fen: word=line.strip() dict2[word]='' print(dict2) if x in dict2: print('in') else: p 阅读全文
摘要:
def has_duplicates2(list): birthd = list[:] for i in birthd: count = 0 for j in birthd: if i == j: count= count+1 if count > 1: print('true2') return 阅读全文
摘要:
1 def is_angram(word1,word2): 2 if len(word1) != len(word2): 3 return False 4 a = list(word1) 5 b = list(word2) 6 c = a[:] 7 for i in a: 8 if i in b: 阅读全文
摘要:
破解完pycharm后,过了一段时间,又重新跳转到了需要我输入注册码的界面,百度以后在host配置文件里添加了 0.0.0.0 https://account.jetbrains.com:443 导致第二天打开pycharm时显示报错。 (if you already have a 64-bit J 阅读全文