Skip to content

Commit

Permalink
ex01 exercise done - AssertionError fix V1
Browse files Browse the repository at this point in the history
  • Loading branch information
MikeSullivan7 committed Oct 23, 2023
1 parent da6d27e commit 006e050
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion exercises-python/mike_sullivan/ex01_basics/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,9 @@ def main():
sortedValuesCounts = [x for x in sorted(zip(counts,values),reverse=True)]

# print out words in descending order of frequency
print('Word Usage')
for i in sortedValuesCounts[0:numlines]:
print(i[0],i[1])
print(f"{i[1]} {i[0]}")
pass


Expand Down
Binary file added tests/__pycache__/test_python.cpython-310.pyc
Binary file not shown.

0 comments on commit 006e050

Please sign in to comment.