From 8a0f7ffda145ea45a7591ca101ef02a588b39299 Mon Sep 17 00:00:00 2001 From: Mark Pilgrim Date: Tue, 14 Jul 2009 01:01:09 -0400 Subject: [PATCH] fixed typo, and added note about lack of progress indicator --- advanced-iterators.html | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) mode change 100644 => 100755 advanced-iterators.html diff --git a/advanced-iterators.html b/advanced-iterators.html old mode 100644 new mode 100755 index fce7dc8..6727d13 --- a/advanced-iterators.html +++ b/advanced-iterators.html @@ -24,7 +24,7 @@ body{counter-reset:h1 7}

Let me spell it out for you. -

HAWAII + IDAHO + IOWA + OHIO == STATES
+
HAWAII + IDAHO + IOWA + OHIO == STATES
 510199 + 98153 + 9301 + 3593 == 621246
 
 H = 5
@@ -72,8 +72,10 @@ if __name__ == '__main__':
         if solution:
             print(solution)
-
-you@localhost:~$ python3 alphametics.py "HAWAII + IDAHO + IOWA + OHIO = STATES"
+

You can run the program from the command line. On Linux, it would look like this. (These may take some time, depending on the speed of your computer, and there is no progress bar. Just be patient!) + +

+you@localhost:~$ python3 alphametics.py "HAWAII + IDAHO + IOWA + OHIO == STATES"
 HAWAII + IDAHO + IOWA + OHIO = STATES
 510199 + 98153 + 9301 + 3593 == 621246
 you@localhost:~$ python3 alphametics.py "I + LOVE + YOU == DORA"