Skip to content

Instantly share code, notes, and snippets.

@madivad
Created April 29, 2019 23:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save madivad/3f7d6895aee9764ab2106672c7e8a657 to your computer and use it in GitHub Desktop.
Save madivad/3f7d6895aee9764ab2106672c7e8a657 to your computer and use it in GitHub Desktop.
counting letters and creating random plot
words=["ABCDEFG","ABBACUS","BANANA","BLACKBERRY","CACTUS","DREADED"]
import collections
count = collections.defaultdict(dict)
for word in words:
for letter in word:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment