Skip to main content
  1. Projects/

zipfs-law

·33 words·1 min
Jake Roggenbuck
Author
Jake Roggenbuck
I am currently studying Computer Science

zipfs-law #

ranked = sorted(RANK.items(), key=lambda x: x[1], reverse=True)
most_used = "\n" + "".join([f"-  {x}: {y}\n" for x, y in ranked[:10]])
least_used = "\n" + "".join([f"-  {x}: {y}\n" for x, y in ranked[-10:]])

image
image