We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9ea21cf commit 64776c4Copy full SHA for 64776c4
ex_13_6
@@ -23,7 +23,7 @@ a list of used words in lower case.
23
'''
24
book = open('alice.txt', 'r')
25
text = book.read().replace('\n', '')
26
- words_list = ''.join(c for c in text if c not in string.punctuation).split()
+ words_list = ''.join(c.lower() for c in text if c not in string.punctuation).split()
27
#print(text)
28
book.close
29
0 commit comments