From 1d9aca4a071d7cef6883176e07910f405bc56903 Mon Sep 17 00:00:00 2001 From: Alex Kopp Date: Mon, 27 Nov 2017 20:22:29 -0500 Subject: [PATCH] Fixed typo in "example" --- ipynb/Sicherman Dice.ipynb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ipynb/Sicherman Dice.ipynb b/ipynb/Sicherman Dice.ipynb index e78ba12..8128d50 100644 --- a/ipynb/Sicherman Dice.ipynb +++ b/ipynb/Sicherman Dice.ipynb @@ -1100,7 +1100,7 @@ "source": [ "Now, what do we have to do for `all_dice(N)`? When we knew we had six sides, we wrote six nested loops. We can't do that for *N*, so what do we do?\n", "\n", - "**Here's an iterative approach: we keep track of a list of partially-formed dice, and on each iteration, we add a side to all the partially-formed dice in all possible ways, until the dice all have `N` sides. So for eaxmple, we'd start with:**\n", + "**Here's an iterative approach: we keep track of a list of partially-formed dice, and on each iteration, we add a side to all the partially-formed dice in all possible ways, until the dice all have `N` sides. So for example, we'd start with:**\n", "\n", " dice = [(1,)]\n", " \n",