Tidy up, make line numbers consistent with text
This commit is contained in:
@@ -39,7 +39,7 @@ def sort(word_freq):
|
||||
def main():
|
||||
word_freqs = sort(frequencies(extract_words(sys.argv[1])))
|
||||
for (w, c) in word_freqs[0:25]:
|
||||
print(w, ' - ', c)
|
||||
print(w, '-', c)
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
|
||||
Reference in New Issue
Block a user