Skip to content

Commit f96d66e

Browse files
committed
Merge pull request #26 from sivabalan/patch-1
Fixed typo with wordfreqs variable
2 parents b9833c4 + c9c37d8 commit f96d66e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

07-infinite-mirror/tf-07.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ def count(word_list, stopwords, wordfreqs):
1717
# Process the head word
1818
word = word_list[0]
1919
if word not in stopwords:
20-
if word in word_freqs:
20+
if word in wordfreqs:
2121
wordfreqs[word] += 1
2222
else:
2323
wordfreqs[word] = 1

0 commit comments

Comments
 (0)