Tidy up, make line numbers consistent with text

This commit is contained in:
Crista Lopes
2019-12-22 17:43:07 -08:00
parent ebeba3d34c
commit 6e1d72bd21
26 changed files with 30 additions and 32 deletions

View File

@@ -79,7 +79,7 @@ class WordFrequencyCounter:
def print_freqs(self, event):
word_freqs = sorted(self._word_freqs.items(), key=operator.itemgetter(1), reverse=True)
for (w, c) in word_freqs[0:25]:
print(w, ' - ', c)
print(w, '-', c)
class WordFrequencyApplication:
def __init__(self, event_manager):