Tidy up, make line numbers consistent with text
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user