remove unnecessary enumeration from top_n.py

This commit is contained in:
Robyn Speer 2017-09-08 16:52:06 -04:00
parent fb4a7db6f7
commit b042f2be9d

View File

@ -10,5 +10,5 @@ N = 1000
for lang in sorted(wordfreq.available_languages()):
for (i, word) in enumerate(wordfreq.top_n_list(lang, 1000)):
for word in wordfreq.top_n_list(lang, 1000):
print('{}\t{}'.format(lang, word))