Skip to content

Commit 1a1e798

Browse files
authored
updating student notebook for modules lesson
1 parent 0587f29 commit 1a1e798

File tree

1 file changed

+20
-106
lines changed

1 file changed

+20
-106
lines changed

notebooks/L4/modules.ipynb

Lines changed: 20 additions & 106 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
},
2828
{
2929
"cell_type": "code",
30-
"execution_count": 1,
30+
"execution_count": null,
3131
"metadata": {
3232
"collapsed": true
3333
},
@@ -36,22 +36,11 @@
3636
},
3737
{
3838
"cell_type": "code",
39-
"execution_count": 2,
39+
"execution_count": null,
4040
"metadata": {
4141
"collapsed": false
4242
},
43-
"outputs": [
44-
{
45-
"data": {
46-
"text/plain": [
47-
"9.0"
48-
]
49-
},
50-
"execution_count": 2,
51-
"metadata": {},
52-
"output_type": "execute_result"
53-
}
54-
],
43+
"outputs": [],
5544
"source": []
5645
},
5746
{
@@ -93,7 +82,7 @@
9382
},
9483
{
9584
"cell_type": "code",
96-
"execution_count": 3,
85+
"execution_count": null,
9786
"metadata": {
9887
"collapsed": true
9988
},
@@ -102,42 +91,20 @@
10291
},
10392
{
10493
"cell_type": "code",
105-
"execution_count": 4,
94+
"execution_count": null,
10695
"metadata": {
10796
"collapsed": false
10897
},
109-
"outputs": [
110-
{
111-
"data": {
112-
"text/plain": [
113-
"7.0"
114-
]
115-
},
116-
"execution_count": 4,
117-
"metadata": {},
118-
"output_type": "execute_result"
119-
}
120-
],
98+
"outputs": [],
12199
"source": []
122100
},
123101
{
124102
"cell_type": "code",
125-
"execution_count": 5,
103+
"execution_count": null,
126104
"metadata": {
127105
"collapsed": false
128106
},
129-
"outputs": [
130-
{
131-
"data": {
132-
"text/plain": [
133-
"module"
134-
]
135-
},
136-
"execution_count": 5,
137-
"metadata": {},
138-
"output_type": "execute_result"
139-
}
140-
],
107+
"outputs": [],
141108
"source": []
142109
},
143110
{
@@ -150,7 +117,7 @@
150117
},
151118
{
152119
"cell_type": "code",
153-
"execution_count": 6,
120+
"execution_count": null,
154121
"metadata": {
155122
"collapsed": true
156123
},
@@ -171,7 +138,7 @@
171138
},
172139
{
173140
"cell_type": "code",
174-
"execution_count": 7,
141+
"execution_count": null,
175142
"metadata": {
176143
"collapsed": true
177144
},
@@ -180,22 +147,11 @@
180147
},
181148
{
182149
"cell_type": "code",
183-
"execution_count": 8,
150+
"execution_count": null,
184151
"metadata": {
185152
"collapsed": false
186153
},
187-
"outputs": [
188-
{
189-
"data": {
190-
"text/plain": [
191-
"11.0"
192-
]
193-
},
194-
"execution_count": 8,
195-
"metadata": {},
196-
"output_type": "execute_result"
197-
}
198-
],
154+
"outputs": [],
199155
"source": []
200156
},
201157
{
@@ -214,7 +170,7 @@
214170
},
215171
{
216172
"cell_type": "code",
217-
"execution_count": 9,
173+
"execution_count": null,
218174
"metadata": {
219175
"collapsed": true
220176
},
@@ -225,31 +181,11 @@
225181
},
226182
{
227183
"cell_type": "code",
228-
"execution_count": 10,
184+
"execution_count": null,
229185
"metadata": {
230186
"collapsed": false
231187
},
232-
"outputs": [
233-
{
234-
"data": {
235-
"text/plain": [
236-
"<Figure size 432x288 with 0 Axes>"
237-
]
238-
},
239-
"execution_count": 10,
240-
"metadata": {},
241-
"output_type": "execute_result"
242-
},
243-
{
244-
"data": {
245-
"text/plain": [
246-
"<Figure size 432x288 with 0 Axes>"
247-
]
248-
},
249-
"metadata": {},
250-
"output_type": "display_data"
251-
}
252-
],
188+
"outputs": [],
253189
"source": [
254190
"plt.figure()"
255191
]
@@ -277,19 +213,11 @@
277213
},
278214
{
279215
"cell_type": "code",
280-
"execution_count": 11,
216+
"execution_count": null,
281217
"metadata": {
282218
"collapsed": false
283219
},
284-
"outputs": [
285-
{
286-
"name": "stdout",
287-
"output_type": "stream",
288-
"text": [
289-
"['__doc__', '__loader__', '__name__', '__package__', '__spec__', 'acos', 'acosh', 'asin', 'asinh', 'atan', 'atan2', 'atanh', 'ceil', 'copysign', 'cos', 'cosh', 'degrees', 'e', 'erf', 'erfc', 'exp', 'expm1', 'fabs', 'factorial', 'floor', 'fmod', 'frexp', 'fsum', 'gamma', 'gcd', 'hypot', 'inf', 'isclose', 'isfinite', 'isinf', 'isnan', 'ldexp', 'lgamma', 'log', 'log10', 'log1p', 'log2', 'modf', 'nan', 'pi', 'pow', 'radians', 'sin', 'sinh', 'sqrt', 'tan', 'tanh', 'trunc']\n"
290-
]
291-
}
292-
],
220+
"outputs": [],
293221
"source": [
294222
"print(dir(math))"
295223
]
@@ -322,25 +250,11 @@
322250
},
323251
{
324252
"cell_type": "code",
325-
"execution_count": 12,
253+
"execution_count": null,
326254
"metadata": {
327255
"collapsed": false
328256
},
329-
"outputs": [
330-
{
331-
"name": "stdout",
332-
"output_type": "stream",
333-
"text": [
334-
"Help on built-in function sin in module math:\n",
335-
"\n",
336-
"sin(...)\n",
337-
" sin(x)\n",
338-
" \n",
339-
" Return the sine of x (measured in radians).\n",
340-
"\n"
341-
]
342-
}
343-
],
257+
"outputs": [],
344258
"source": []
345259
},
346260
{
@@ -415,7 +329,7 @@
415329
},
416330
{
417331
"cell_type": "code",
418-
"execution_count": 13,
332+
"execution_count": null,
419333
"metadata": {
420334
"collapsed": true
421335
},

0 commit comments

Comments
 (0)