摘要: word_count = {} with open("./Beginner Guide to Python.txt") as fin: for line in fin: line = line[:-1] words = line.split() for word in words: if word 阅读全文