diff --git a/advanced-iterators.html b/advanced-iterators.html index 40e07f2..8a13bc9 100644 --- a/advanced-iterators.html +++ b/advanced-iterators.html @@ -34,7 +34,7 @@ E = 1 S = 2 T = 0 -
This kind of puzzle is called cryptarithm or alphametics. The letters spell out actual words, but if you replace each letter with a digit from 0–9, it also “spells” an arithmetic equation. The trick is to figure out which letter maps to each digit. All the occurrences of each letter must map to the same digit, no digit can be repeated, and no “word” can start with the digit 0.
+
Puzzles like this are called cryptarithms or alphametics. The letters spell out actual words, but if you replace each letter with a digit from 0–9, it also “spells” an arithmetic equation. The trick is to figure out which letter maps to each digit. All the occurrences of each letter must map to the same digit, no digit can be repeated, and no “word” can start with the digit 0.
The most well-known alphametic puzzle is SEND + MORE = MONEY.
diff --git a/iterators-and-generators.html b/iterators-and-generators.html
index db64674..fb855b4 100644
--- a/iterators-and-generators.html
+++ b/iterators-and-generators.html
@@ -570,7 +570,7 @@ rules = LazyRules()
© 2001–9 Mark Pilgrim diff --git a/native-datatypes.html b/native-datatypes.html index 1cff987..b373e9d 100644 --- a/native-datatypes.html +++ b/native-datatypes.html @@ -453,7 +453,7 @@ KeyError: 'db.diveintopython3.org'
© 2001–9 Mark Pilgrim diff --git a/porting-code-to-python-3-with-2to3.html b/porting-code-to-python-3-with-2to3.html index 2ac9d02..cf75c36 100644 --- a/porting-code-to-python-3-with-2to3.html +++ b/porting-code-to-python-3-with-2to3.html @@ -1157,7 +1157,7 @@ do_stuff(a_list) do_stuff(a_list)
FIXME: once the rest of the book is written, this appendix should contain copious links back to any chapter or section that touches on these features. -
© 2001–9 Mark Pilgrim diff --git a/regular-expressions.html b/regular-expressions.html index 83d892e..181f669 100644 --- a/regular-expressions.html +++ b/regular-expressions.html @@ -417,7 +417,7 @@ body{counter-reset:h1 4}
(x) in general is a remembered group. You can get the value of what matched by using the groups() method of the object returned by re.search.
Regular expressions are extremely powerful, but they are not the correct solution for every problem. You should learn enough about them to know when they are appropriate, when they will solve your problems, and when they will cause more problems than they solve. -
© 2001–9 Mark Pilgrim diff --git a/strings.html b/strings.html index 2b7a4ee..bab41e6 100644 --- a/strings.html +++ b/strings.html @@ -420,7 +420,7 @@ FIXME: move this to the intro of the upcoming files chapter?
© 2001–9 Mark Pilgrim diff --git a/your-first-python-program.html b/your-first-python-program.html index 05e3198..e85d831 100644 --- a/your-first-python-program.html +++ b/your-first-python-program.html @@ -223,7 +223,7 @@ if __name__ == "__main__":
© 2001–9 Mark Pilgrim