From 4834ec43391c8f39d91eb9de28a6e7616140cdd7 Mon Sep 17 00:00:00 2001 From: Neil Smith Date: Mon, 24 Mar 2014 10:23:20 +0000 Subject: [PATCH] More work on slides --- slides/caesar-break.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/slides/caesar-break.html b/slides/caesar-break.html index f296e44..9aea681 100644 --- a/slides/caesar-break.html +++ b/slides/caesar-break.html @@ -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()`) --- -- 2.34.1