Merge branch 'presentation-slides' of github.com:NeilNjae/cipher-training into presen...
[cipher-training.git] / slides / caesar-break.html
index c2556cf234bf61fe800836b70528ad93d5c005f3..15607e7665005c39396e342951187c35000bbb75 100644 (file)
@@ -197,9 +197,9 @@ def unaccent(text):
 # Find the frequencies of letters in English
 
 1. Read from `shakespeare.txt`, `sherlock-holmes.txt`, and `war-and-peace.txt`.
-2. Find the frequencies
-3. Sort by count (`sorted(, key=)` ; `.items()`, `.keys()`, `.values()`, `.get()`)
-4. Write counts to `count_1l.txt` 
+2. Find the frequencies (`.update()`)
+3. Sort by count 
+4. Write counts to `count_1l.txt` (`'text{}\n'.format()`)
 
 ---