From 4f14cdf6117182ecd1858a5252d2313296e6d339 Mon Sep 17 00:00:00 2001 From: Peter Norvig Date: Fri, 2 Nov 2018 09:35:42 -0700 Subject: [PATCH] Add files via upload --- ipynb/Orderable Cards.ipynb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ipynb/Orderable Cards.ipynb b/ipynb/Orderable Cards.ipynb index dbc77d5..cdcd041 100644 --- a/ipynb/Orderable Cards.ipynb +++ b/ipynb/Orderable Cards.ipynb @@ -4,6 +4,8 @@ "cell_type": "markdown", "metadata": {}, "source": [ + "
Peter Norvig
October 2018
\n", + "\n", "# Properly Ordered Card Hands\n", "\n", "The 538 Riddler [presented](https://fivethirtyeight.com/features/who-will-capture-the-most-james-bonds/) this problem by Matt Ginsberg:\n", @@ -30,7 +32,7 @@ "\n", "That's a big improvement! \n", "\n", - "Now let's start coding. There are two red suits and two black suits, so I'll represent the four suits as `'rbRB'`. (I also considered using `'♠️♥️♦️♣️'`.) I'll represent an abstract hand as a string of suits: `'rrBrbr'` is a 6-card hand. \n", + "Now let's start coding. There are two red suits and two black suits, so I'll represent the four suits as `'rRbB'`. (I considered `'shdc'` or ' `'♠️♥️♦️♣️'`, but I wanted to highlight the important thing, the colors.) I'll represent an abstract hand as a string of suits: `'rrBrbr'` is a 6-card hand. \n", "\n", "# Deals: Hands and their Probabilities\n", "\n",