Skip to content

Commit 13cd659

Browse files
committed
Updating the notebooks
1 parent 6c568d1 commit 13cd659

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

chapters/chap10.ipynb

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1797,10 +1797,16 @@
17971797
"cell_type": "code",
17981798
"execution_count": 70,
17991799
"id": "e04a5c73",
1800-
"metadata": {},
1800+
"metadata": {
1801+
"tags": []
1802+
},
18011803
"outputs": [],
18021804
"source": [
1803-
"# Solution goes here"
1805+
"for word in word_list:\n",
1806+
" if len(word) >= 8 and is_interlocking(word):\n",
1807+
" first = word[0::2]\n",
1808+
" second = word[1::2]\n",
1809+
" print(word, first, second)"
18041810
]
18051811
},
18061812
{

0 commit comments

Comments
 (0)