From 42f497d097c6d4752c6e50e4c4649f3e40113dd0 Mon Sep 17 00:00:00 2001 From: Peter Norvig Date: Tue, 2 Jan 2024 10:00:40 -0800 Subject: [PATCH] Update Countdown.ipynb --- ipynb/Countdown.ipynb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ipynb/Countdown.ipynb b/ipynb/Countdown.ipynb index eb25d2a..92710f3 100644 --- a/ipynb/Countdown.ipynb +++ b/ipynb/Countdown.ipynb @@ -78,7 +78,7 @@ "\n", "- *Given any sequence of numbers, place operations and brackets to form a dict of `{value: expression}` for every value that can be made.*\n", "\n", - "I'll define `expressions(numbers)` to return an **expression table**: a dict of `{value: expression}` for all expressions (strings) whose numeric value is a `value` that can be made using all the `numbers`, for example:\n", + "I'll define `expressions(numbers)` to return an **expression table**: a dict of `{value: expression}` for all expressions (strings) whose numeric value is a `value` that can be made using all the `numbers` in left-to-right order. For example:\n", "\n", " expressions((3, 2)) = {1: '(3-2)', 1.5: '(3/2)', 5: '(3+2)', 6: '(3*2)'}\n", "\n",