Skip to content

Commit

Permalink
Update count_digrams_practice.py
Browse files Browse the repository at this point in the history
  • Loading branch information
rlvaugh authored Jul 1, 2021
1 parent ddc613d commit 5c7e301
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Chapter_3/count_digrams_practice.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,6 @@

print("digram frequency count:")
count = 0
for i in sorted(mapped):
print("{} {}".format(i, len(mapped[i])))
for k in sorted(mapped):
print("{} {}".format(k, len(mapped[k])))

0 comments on commit 5c7e301

Please sign in to comment.