projects
/
cipher-training.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
More work on slides
[cipher-training.git]
/
slides
/
caesar-break.html
diff --git
a/slides/caesar-break.html
b/slides/caesar-break.html
index f296e44142197dec2eadd10ac5d773ffb3087cca..9aea6810e8f371f4aaf313bb2b9f4998dcab50e3 100644
(file)
--- 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`.
# 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()`)
---
---