Skip to content
This repository has been archived by the owner on Jan 20, 2025. It is now read-only.

Commit

Permalink
Fixed typo
Browse files Browse the repository at this point in the history
  • Loading branch information
FloChiff authored Oct 8, 2024
1 parent 88f4150 commit d4d9237
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -45,4 +45,4 @@ def counting(words):
#The dictionary will be sorted by value, from the biggest to the smallest
with open(sys.argv[1], "w") as file_out:
print(f'Writing to {sys.argv[1]}')
file_out.write("dictionary = " + str(dict(sorted(counting(liste).items(), key=lambda item: item[1], reverse=True))))
file_out.write("dictionary = " + str(dict(sorted(counting(liste).items(), key=lambda item: item[1], reverse=True))))

0 comments on commit d4d9237

Please sign in to comment.