Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

2nd edition #174

Open
wants to merge 10 commits into
base: 3rd-edition
Choose a base branch
from
18 changes: 9 additions & 9 deletions ch03.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -787,7 +787,7 @@
"outputs": [],
"source": [
"pitchers = [('Nolan', 'Ryan'), ('Roger', 'Clemens'),\n",
" ('Schilling', 'Curt')]\n",
" ('Curt', 'Schilling')]\n",
"first_names, last_names = zip(*pitchers)\n",
"first_names\n",
"last_names"
Expand Down Expand Up @@ -1412,7 +1412,7 @@
]
},
{
"cell_type": "markdown",
"cell_type": "code",
"metadata": {
"deletable": true,
"editable": true
Expand All @@ -1426,7 +1426,7 @@
]
},
{
"cell_type": "markdown",
"cell_type": "code",
"metadata": {
"deletable": true,
"editable": true
Expand All @@ -1448,7 +1448,7 @@
]
},
{
"cell_type": "markdown",
"cell_type": "code",
"metadata": {
"deletable": true,
"editable": true
Expand All @@ -1461,7 +1461,7 @@
]
},
{
"cell_type": "markdown",
"cell_type": "code",
"metadata": {
"deletable": true,
"editable": true
Expand Down Expand Up @@ -1502,7 +1502,7 @@
]
},
{
"cell_type": "markdown",
"cell_type": "code",
"metadata": {
"deletable": true,
"editable": true
Expand All @@ -1518,7 +1518,7 @@
]
},
{
"cell_type": "markdown",
"cell_type": "code",
"metadata": {
"deletable": true,
"editable": true
Expand All @@ -1528,7 +1528,7 @@
]
},
{
"cell_type": "markdown",
"cell_type": "code",
"metadata": {
"deletable": true,
"editable": true
Expand Down Expand Up @@ -1711,7 +1711,7 @@
},
"outputs": [],
"source": [
"strings.sort(key=lambda x: len(set(list(x))))\n",
"strings.sort(key=lambda x: len(set(x)))\n",
"strings"
]
},
Expand Down
Loading