Created
April 29, 2019 23:11
-
-
Save madivad/3f7d6895aee9764ab2106672c7e8a657 to your computer and use it in GitHub Desktop.
counting letters and creating random plot
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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