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

@@ -1,4 +1,5 @@
#!/usr/bin/env python
import sys, re, operator, string, traceback
#
@@ -64,7 +65,7 @@ try:
assert(type(word_freqs) is list), "OMG! This is not a list!"
assert(len(word_freqs) > 25), "SRSLY? Less than 25 words!"
for (w, c) in word_freqs[0:25]:
print(w, ' - ', c)
print(w, '-', c)
except Exception as e:
print("Something wrong: {0}".format(e))
traceback.print_exc()