Skip to content

Commit cfd77e8

Browse files
committed
Update documentation
1 parent 11f14dd commit cfd77e8

41 files changed

Lines changed: 486 additions & 41 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

_sources/chap00.ipynb

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -217,6 +217,22 @@
217217
"metadata": {},
218218
"outputs": [],
219219
"source": []
220+
},
221+
{
222+
"cell_type": "markdown",
223+
"id": "a7f4edf8",
224+
"metadata": {
225+
"tags": []
226+
},
227+
"source": [
228+
"[Think Python: 3rd Edition](https://allendowney.github.io/ThinkPython/index.html)\n",
229+
"\n",
230+
"Copyright 2024 [Allen B. Downey](https://allendowney.com)\n",
231+
"\n",
232+
"Code license: [MIT License](https://mit-license.org/)\n",
233+
"\n",
234+
"Text license: [Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International](https://creativecommons.org/licenses/by-nc-sa/4.0/)"
235+
]
220236
}
221237
],
222238
"metadata": {

_sources/chap01.ipynb

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1787,6 +1787,22 @@
17871787
"metadata": {},
17881788
"outputs": [],
17891789
"source": []
1790+
},
1791+
{
1792+
"cell_type": "markdown",
1793+
"id": "a7f4edf8",
1794+
"metadata": {
1795+
"tags": []
1796+
},
1797+
"source": [
1798+
"[Think Python: 3rd Edition](https://allendowney.github.io/ThinkPython/index.html)\n",
1799+
"\n",
1800+
"Copyright 2024 [Allen B. Downey](https://allendowney.com)\n",
1801+
"\n",
1802+
"Code license: [MIT License](https://mit-license.org/)\n",
1803+
"\n",
1804+
"Text license: [Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International](https://creativecommons.org/licenses/by-nc-sa/4.0/)"
1805+
]
17901806
}
17911807
],
17921808
"metadata": {

_sources/chap02.ipynb

Lines changed: 44 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@
1616
"id": "1a0a6ff4",
1717
"metadata": {
1818
"tags": [
19-
"remove-cell"
19+
"remove-cell",
20+
"keep"
2021
]
2122
},
2223
"outputs": [],
@@ -259,7 +260,8 @@
259260
"id": "2c25e84e",
260261
"metadata": {
261262
"tags": [
262-
"remove-cell"
263+
"remove-cell",
264+
"keep"
263265
]
264266
},
265267
"outputs": [],
@@ -281,7 +283,8 @@
281283
"id": "5b27a635",
282284
"metadata": {
283285
"tags": [
284-
"remove-input"
286+
"remove-input",
287+
"keep"
285288
]
286289
},
287290
"outputs": [
@@ -1372,14 +1375,23 @@
13721375
},
13731376
{
13741377
"cell_type": "code",
1375-
"execution_count": null,
1378+
"execution_count": 43,
13761379
"id": "c9e6cab4",
13771380
"metadata": {
13781381
"tags": [
1379-
"remove-print"
1382+
"remove-print",
1383+
"keep"
13801384
]
13811385
},
1382-
"outputs": [],
1386+
"outputs": [
1387+
{
1388+
"name": "stdout",
1389+
"output_type": "stream",
1390+
"text": [
1391+
"Exception reporting mode: Verbose\n"
1392+
]
1393+
}
1394+
],
13831395
"source": [
13841396
"# This cell tells Jupyter to provide detailed debugging information\n",
13851397
"# when a runtime error occurs. Run it before working on the exercises.\n",
@@ -1443,7 +1455,7 @@
14431455
},
14441456
{
14451457
"cell_type": "code",
1446-
"execution_count": 43,
1458+
"execution_count": 44,
14471459
"id": "18de7d96",
14481460
"metadata": {},
14491461
"outputs": [
@@ -1453,7 +1465,7 @@
14531465
"523.5987755982989"
14541466
]
14551467
},
1456-
"execution_count": 43,
1468+
"execution_count": 44,
14571469
"metadata": {},
14581470
"output_type": "execute_result"
14591471
}
@@ -1475,7 +1487,7 @@
14751487
},
14761488
{
14771489
"cell_type": "code",
1478-
"execution_count": 44,
1490+
"execution_count": 52,
14791491
"id": "de812cff",
14801492
"metadata": {},
14811493
"outputs": [
@@ -1485,7 +1497,7 @@
14851497
"1.0"
14861498
]
14871499
},
1488-
"execution_count": 44,
1500+
"execution_count": 52,
14891501
"metadata": {},
14901502
"output_type": "execute_result"
14911503
}
@@ -1511,7 +1523,7 @@
15111523
},
15121524
{
15131525
"cell_type": "code",
1514-
"execution_count": 45,
1526+
"execution_count": 46,
15151527
"id": "b4ada618",
15161528
"metadata": {},
15171529
"outputs": [
@@ -1521,7 +1533,7 @@
15211533
"7.3890560989306495"
15221534
]
15231535
},
1524-
"execution_count": 45,
1536+
"execution_count": 46,
15251537
"metadata": {},
15261538
"output_type": "execute_result"
15271539
}
@@ -1530,7 +1542,7 @@
15301542
},
15311543
{
15321544
"cell_type": "code",
1533-
"execution_count": 46,
1545+
"execution_count": 47,
15341546
"id": "4424940f",
15351547
"metadata": {},
15361548
"outputs": [
@@ -1540,7 +1552,7 @@
15401552
"7.3890560989306495"
15411553
]
15421554
},
1543-
"execution_count": 46,
1555+
"execution_count": 47,
15441556
"metadata": {},
15451557
"output_type": "execute_result"
15461558
}
@@ -1549,7 +1561,7 @@
15491561
},
15501562
{
15511563
"cell_type": "code",
1552-
"execution_count": 47,
1564+
"execution_count": 48,
15531565
"id": "50e8393a",
15541566
"metadata": {},
15551567
"outputs": [
@@ -1559,7 +1571,7 @@
15591571
"7.38905609893065"
15601572
]
15611573
},
1562-
"execution_count": 47,
1574+
"execution_count": 48,
15631575
"metadata": {},
15641576
"output_type": "execute_result"
15651577
}
@@ -1573,6 +1585,22 @@
15731585
"metadata": {},
15741586
"outputs": [],
15751587
"source": []
1588+
},
1589+
{
1590+
"cell_type": "markdown",
1591+
"id": "a7f4edf8",
1592+
"metadata": {
1593+
"tags": []
1594+
},
1595+
"source": [
1596+
"[Think Python: 3rd Edition](https://allendowney.github.io/ThinkPython/index.html)\n",
1597+
"\n",
1598+
"Copyright 2024 [Allen B. Downey](https://allendowney.com)\n",
1599+
"\n",
1600+
"Code license: [MIT License](https://mit-license.org/)\n",
1601+
"\n",
1602+
"Text license: [Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International](https://creativecommons.org/licenses/by-nc-sa/4.0/)"
1603+
]
15761604
}
15771605
],
15781606
"metadata": {

_sources/chap03.ipynb

Lines changed: 56 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@
1616
"id": "103cbe3c",
1717
"metadata": {
1818
"tags": [
19-
"remove-cell"
19+
"remove-cell",
20+
"keep"
2021
]
2122
},
2223
"outputs": [],
@@ -705,7 +706,8 @@
705706
"id": "83df4e32",
706707
"metadata": {
707708
"tags": [
708-
"remove-cell"
709+
"remove-cell",
710+
"keep"
709711
]
710712
},
711713
"outputs": [],
@@ -736,7 +738,8 @@
736738
"id": "bcd5e1df",
737739
"metadata": {
738740
"tags": [
739-
"remove-input"
741+
"remove-input",
742+
"keep"
740743
]
741744
},
742745
"outputs": [
@@ -811,7 +814,8 @@
811814
"id": "1fe8ee82",
812815
"metadata": {
813816
"tags": [
814-
"remove-print"
817+
"remove-print",
818+
"keep"
815819
]
816820
},
817821
"outputs": [
@@ -975,7 +979,8 @@
975979
"id": "3f77b428",
976980
"metadata": {
977981
"tags": [
978-
"remove-print"
982+
"remove-print",
983+
"keep"
979984
]
980985
},
981986
"outputs": [
@@ -1058,7 +1063,11 @@
10581063
"cell_type": "code",
10591064
"execution_count": 30,
10601065
"id": "f142ce6a",
1061-
"metadata": {},
1066+
"metadata": {
1067+
"tags": [
1068+
"keep"
1069+
]
1070+
},
10621071
"outputs": [
10631072
{
10641073
"name": "stdout",
@@ -1099,7 +1108,10 @@
10991108
"execution_count": 32,
11001109
"id": "b8146a0d",
11011110
"metadata": {
1102-
"scrolled": true
1111+
"scrolled": true,
1112+
"tags": [
1113+
"keep"
1114+
]
11031115
},
11041116
"outputs": [
11051117
{
@@ -1142,7 +1154,10 @@
11421154
"execution_count": 34,
11431155
"id": "73b0c0f6",
11441156
"metadata": {
1145-
"scrolled": true
1157+
"scrolled": true,
1158+
"tags": [
1159+
"keep"
1160+
]
11461161
},
11471162
"outputs": [
11481163
{
@@ -1200,7 +1215,11 @@
12001215
{
12011216
"cell_type": "markdown",
12021217
"id": "ee0076dd",
1203-
"metadata": {},
1218+
"metadata": {
1219+
"tags": [
1220+
"keep"
1221+
]
1222+
},
12041223
"source": [
12051224
"Use this function call to display the first verse."
12061225
]
@@ -1209,7 +1228,11 @@
12091228
"cell_type": "code",
12101229
"execution_count": 37,
12111230
"id": "47a91c7d",
1212-
"metadata": {},
1231+
"metadata": {
1232+
"tags": [
1233+
"keep"
1234+
]
1235+
},
12131236
"outputs": [
12141237
{
12151238
"name": "stdout",
@@ -1229,7 +1252,11 @@
12291252
{
12301253
"cell_type": "markdown",
12311254
"id": "42c237c6",
1232-
"metadata": {},
1255+
"metadata": {
1256+
"tags": [
1257+
"keep"
1258+
]
1259+
},
12331260
"source": [
12341261
"If you want to print the whole song, you can use this `for` loop, which counts down from `99` to `1`.\n",
12351262
"You don't have to completely understand this example---we'll learn more about `for` loops and the `range` function later."
@@ -1241,7 +1268,8 @@
12411268
"id": "336cdfa2",
12421269
"metadata": {
12431270
"tags": [
1244-
"remove-output"
1271+
"remove-output",
1272+
"keep"
12451273
]
12461274
},
12471275
"outputs": [
@@ -1760,6 +1788,22 @@
17601788
"metadata": {},
17611789
"outputs": [],
17621790
"source": []
1791+
},
1792+
{
1793+
"cell_type": "markdown",
1794+
"id": "a7f4edf8",
1795+
"metadata": {
1796+
"tags": []
1797+
},
1798+
"source": [
1799+
"[Think Python: 3rd Edition](https://allendowney.github.io/ThinkPython/index.html)\n",
1800+
"\n",
1801+
"Copyright 2024 [Allen B. Downey](https://allendowney.com)\n",
1802+
"\n",
1803+
"Code license: [MIT License](https://mit-license.org/)\n",
1804+
"\n",
1805+
"Text license: [Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International](https://creativecommons.org/licenses/by-nc-sa/4.0/)"
1806+
]
17631807
}
17641808
],
17651809
"metadata": {

_sources/chap04.ipynb

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7887,6 +7887,22 @@
78877887
"metadata": {},
78887888
"outputs": [],
78897889
"source": []
7890+
},
7891+
{
7892+
"cell_type": "markdown",
7893+
"id": "a7f4edf8",
7894+
"metadata": {
7895+
"tags": []
7896+
},
7897+
"source": [
7898+
"[Think Python: 3rd Edition](https://allendowney.github.io/ThinkPython/index.html)\n",
7899+
"\n",
7900+
"Copyright 2024 [Allen B. Downey](https://allendowney.com)\n",
7901+
"\n",
7902+
"Code license: [MIT License](https://mit-license.org/)\n",
7903+
"\n",
7904+
"Text license: [Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International](https://creativecommons.org/licenses/by-nc-sa/4.0/)"
7905+
]
78907906
}
78917907
],
78927908
"metadata": {

0 commit comments

Comments
 (0)