Remove unused code cells from xkcd1313 notebook

This commit is contained in:
Peter Norvig
2026-03-25 11:10:19 -07:00
committed by GitHub
parent b499e06b97
commit 1011a6c263

View File

@@ -1101,100 +1101,9 @@
"\n",
"\n",
"\n",
"<hr>\n",
"[*Peter Norvig*](http://norvig.com), Jan. 2014"
"<hr>\n"
]
},
{
"cell_type": "code",
"execution_count": 22,
"metadata": {
"button": false,
"collapsed": false,
"deletable": true,
"new_sheet": false,
"run_control": {
"read_only": false
}
},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"Characters: 44, Parts: 12, Competitive ratio: 4.8, Winners: 21, Losers: 21\n"
]
},
{
"data": {
"text/plain": [
"'.17|4.2|1.4|06|55|009|37|0.2|00$|191|015|003'"
]
},
"execution_count": 22,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"report(words(\"\"\" 000000000\n",
" 000000003\n",
" 000000006\n",
" 000000009\n",
" 000000012\n",
" 000000015\n",
" 066990060\n",
" 140091876\n",
" 173655750\n",
" 312440187\n",
" 321769005\n",
" 368542278\n",
" 390259104\n",
" 402223947\n",
" 443512431\n",
" 714541758\n",
" 747289572\n",
" 819148602\n",
" 878531775\n",
" 905586303\n",
" 9537348\"\"\"), words(\"\"\"000000005\n",
" 000000008\n",
" 000000010\n",
" 000000011\n",
" 000000014\n",
" 018990130\n",
" 112057285\n",
" 159747125\n",
" 176950268\n",
" 259108903\n",
" 333162608\n",
" 388401457\n",
" 477848777\n",
" 478621693\n",
" 531683939\n",
" 704168662\n",
" 759282218\n",
" 769340942\n",
" 851936815\n",
" 973816159\n",
" 979204403\"\"\"))"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"button": false,
"collapsed": true,
"deletable": true,
"new_sheet": false,
"run_control": {
"read_only": false
}
},
"outputs": [],
"source": []
}
],
"metadata": {
"kernelspec": {