Todo
This commit is contained in:
parent
1baeb59a85
commit
bce3c1b652
@ -26,6 +26,8 @@ def readFile(filename):
|
||||
|
||||
def getLetters(text, pos):
|
||||
# return Counter(text[idx : idx + pos] for idx in range(len(text) - 1))
|
||||
###### TODO
|
||||
# Sorted by value and to get x data from the dictionary
|
||||
return Counter([text[idx: idx + pos] for idx in range(len(text) - 1)])
|
||||
|
||||
if __name__ == "__main__":
|
||||
|
Loading…
Reference in New Issue
Block a user