Skip to content

Commit f9daa9e

Browse files
committed
Status at deadline of first graded assignment
1 parent 40f8319 commit f9daa9e

8 files changed

+5541
-7581
lines changed

Diff for: Assignments/EN/Assignment_5.ipynb

+4,322-7,557
Large diffs are not rendered by default.

Diff for: Exercises/EN/Basic/04_Conditional_Statements.ipynb

+2-2
Original file line numberDiff line numberDiff line change
@@ -1573,7 +1573,7 @@
15731573
],
15741574
"metadata": {
15751575
"kernelspec": {
1576-
"display_name": "Python 3",
1576+
"display_name": "Python 3 (ipykernel)",
15771577
"language": "python",
15781578
"name": "python3"
15791579
},
@@ -1587,7 +1587,7 @@
15871587
"name": "python",
15881588
"nbconvert_exporter": "python",
15891589
"pygments_lexer": "ipython3",
1590-
"version": "3.7.1"
1590+
"version": "3.10.9"
15911591
}
15921592
},
15931593
"nbformat": 4,

Diff for: Exercises/EN/Basic/05_Control_Flow.ipynb

+127-6
Original file line numberDiff line numberDiff line change
@@ -65,10 +65,129 @@
6565
},
6666
{
6767
"cell_type": "code",
68-
"execution_count": null,
68+
"execution_count": 2,
6969
"metadata": {},
70-
"outputs": [],
71-
"source": []
70+
"outputs": [
71+
{
72+
"name": "stdout",
73+
"output_type": "stream",
74+
"text": [
75+
"FizzBuzz\n",
76+
"1\n",
77+
"2\n",
78+
"Fizz\n",
79+
"4\n",
80+
"Buzz\n",
81+
"Fizz\n",
82+
"7\n",
83+
"8\n",
84+
"Fizz\n",
85+
"Buzz\n",
86+
"11\n",
87+
"Fizz\n",
88+
"13\n",
89+
"14\n",
90+
"FizzBuzz\n",
91+
"16\n",
92+
"17\n",
93+
"Fizz\n",
94+
"19\n",
95+
"Buzz\n",
96+
"Fizz\n",
97+
"22\n",
98+
"23\n",
99+
"Fizz\n",
100+
"Buzz\n",
101+
"26\n",
102+
"Fizz\n",
103+
"28\n",
104+
"29\n",
105+
"FizzBuzz\n",
106+
"31\n",
107+
"32\n",
108+
"Fizz\n",
109+
"34\n",
110+
"Buzz\n",
111+
"Fizz\n",
112+
"37\n",
113+
"38\n",
114+
"Fizz\n",
115+
"Buzz\n",
116+
"41\n",
117+
"Fizz\n",
118+
"43\n",
119+
"44\n",
120+
"FizzBuzz\n",
121+
"46\n",
122+
"47\n",
123+
"Fizz\n",
124+
"49\n",
125+
"Buzz\n",
126+
"Fizz\n",
127+
"52\n",
128+
"53\n",
129+
"Fizz\n",
130+
"Buzz\n",
131+
"56\n",
132+
"Fizz\n",
133+
"58\n",
134+
"59\n",
135+
"FizzBuzz\n",
136+
"61\n",
137+
"62\n",
138+
"Fizz\n",
139+
"64\n",
140+
"Buzz\n",
141+
"Fizz\n",
142+
"67\n",
143+
"68\n",
144+
"Fizz\n",
145+
"Buzz\n",
146+
"71\n",
147+
"Fizz\n",
148+
"73\n",
149+
"74\n",
150+
"FizzBuzz\n",
151+
"76\n",
152+
"77\n",
153+
"Fizz\n",
154+
"79\n",
155+
"Buzz\n",
156+
"Fizz\n",
157+
"82\n",
158+
"83\n",
159+
"Fizz\n",
160+
"Buzz\n",
161+
"86\n",
162+
"Fizz\n",
163+
"88\n",
164+
"89\n",
165+
"FizzBuzz\n",
166+
"91\n",
167+
"92\n",
168+
"Fizz\n",
169+
"94\n",
170+
"Buzz\n",
171+
"Fizz\n",
172+
"97\n",
173+
"98\n",
174+
"Fizz\n"
175+
]
176+
}
177+
],
178+
"source": [
179+
"for x in range(100):\n",
180+
" if x%3 == 0:\n",
181+
" if x%5 == 0:\n",
182+
" print(\"FizzBuzz\")\n",
183+
" else:\n",
184+
" print(\"Fizz\")\n",
185+
" else:\n",
186+
" if x%5 == 0:\n",
187+
" print(\"Buzz\")\n",
188+
" else:\n",
189+
" print(x)"
190+
]
72191
},
73192
{
74193
"cell_type": "markdown",
@@ -101,7 +220,10 @@
101220
"execution_count": null,
102221
"metadata": {},
103222
"outputs": [],
104-
"source": []
223+
"source": [
224+
"for y in list1:\n",
225+
" "
226+
]
105227
},
106228
{
107229
"cell_type": "markdown",
@@ -158,7 +280,6 @@
158280
"cell_type": "code",
159281
"execution_count": 4,
160282
"metadata": {
161-
"collapsed": false,
162283
"jupyter": {
163284
"outputs_hidden": false
164285
}
@@ -234,7 +355,7 @@
234355
"name": "python",
235356
"nbconvert_exporter": "python",
236357
"pygments_lexer": "ipython3",
237-
"version": "3.8.10"
358+
"version": "3.10.9"
238359
}
239360
},
240361
"nbformat": 4,

Diff for: Exercises/EN/Basic/08_Dictionaries_And_Frequency_Tables.ipynb

+35-8
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@
127127
},
128128
{
129129
"cell_type": "code",
130-
"execution_count": 5,
130+
"execution_count": 2,
131131
"metadata": {},
132132
"outputs": [
133133
{
@@ -157,12 +157,24 @@
157157
},
158158
{
159159
"cell_type": "code",
160-
"execution_count": 6,
160+
"execution_count": 3,
161161
"metadata": {},
162-
"outputs": [],
162+
"outputs": [
163+
{
164+
"name": "stdout",
165+
"output_type": "stream",
166+
"text": [
167+
"987\n",
168+
"622\n"
169+
]
170+
}
171+
],
163172
"source": [
164173
"### Start your code below:\n",
165-
"\n"
174+
"over_9 = content_ratings['9+']\n",
175+
"over_17 = content_ratings['17+']\n",
176+
"print(over_9)\n",
177+
"print(over_17)"
166178
]
167179
},
168180
{
@@ -359,13 +371,28 @@
359371
},
360372
{
361373
"cell_type": "code",
362-
"execution_count": 14,
374+
"execution_count": 5,
363375
"metadata": {},
364-
"outputs": [],
376+
"outputs": [
377+
{
378+
"name": "stdout",
379+
"output_type": "stream",
380+
"text": [
381+
"{'key_1': 'first_value', 'key_2': 2, 'key_3': 3.14, 'key_4': True, 'key_5': [4, 2, 1], 'key_6': {'inner_key': 6}}\n"
382+
]
383+
}
384+
],
365385
"source": [
366386
"### Start your code below:\n",
387+
"d_1 = {'key_1': 'first_value',\n",
388+
"'key_2': 2,\n",
389+
"'key_3': 3.14,\n",
390+
"'key_4': True,\n",
391+
"'key_5': [4,2,1],\n",
392+
"'key_6': {'inner_key' : 6}}\n",
367393
"\n",
368-
"\n"
394+
"\n",
395+
"print(d_1)\n"
369396
]
370397
},
371398
{
@@ -882,7 +909,7 @@
882909
"name": "python",
883910
"nbconvert_exporter": "python",
884911
"pygments_lexer": "ipython3",
885-
"version": "3.8.10"
912+
"version": "3.10.9"
886913
}
887914
},
888915
"nbformat": 4,

Diff for: Exercises/EN/Basic/Quiz_Functions_Solutions.ipynb

+1-1
Original file line numberDiff line numberDiff line change
@@ -1070,7 +1070,7 @@
10701070
"name": "python",
10711071
"nbconvert_exporter": "python",
10721072
"pygments_lexer": "ipython3",
1073-
"version": "3.8.10"
1073+
"version": "3.10.9"
10741074
}
10751075
},
10761076
"nbformat": 4,

Diff for: Notebooks/Python_Basic/01_Python_Datatypes.ipynb

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"cells": [
33
{
4-
"cell_type": "markdown",
4+
"cell_type": "raw",
55
"metadata": {},
66
"source": [
77
"# Introduction to Python \n",

Diff for: Notebooks/Python_Basic/07_Functional_Programming.ipynb

+5-5
Original file line numberDiff line numberDiff line change
@@ -69,14 +69,14 @@
6969
},
7070
{
7171
"cell_type": "code",
72-
"execution_count": 7,
72+
"execution_count": 2,
7373
"metadata": {},
7474
"outputs": [
7575
{
7676
"name": "stdout",
7777
"output_type": "stream",
7878
"text": [
79-
"78.6 ns ± 1.42 ns per loop (mean ± std. dev. of 7 runs, 10000000 loops each)\n"
79+
"86.6 ns ± 1.04 ns per loop (mean ± std. dev. of 7 runs, 10,000,000 loops each)\n"
8080
]
8181
}
8282
],
@@ -88,7 +88,7 @@
8888
},
8989
{
9090
"cell_type": "code",
91-
"execution_count": 4,
91+
"execution_count": 3,
9292
"metadata": {},
9393
"outputs": [],
9494
"source": [
@@ -97,14 +97,14 @@
9797
},
9898
{
9999
"cell_type": "code",
100-
"execution_count": 8,
100+
"execution_count": 4,
101101
"metadata": {},
102102
"outputs": [
103103
{
104104
"name": "stdout",
105105
"output_type": "stream",
106106
"text": [
107-
"82.7 ns ± 0.878 ns per loop (mean ± std. dev. of 7 runs, 10000000 loops each)\n"
107+
"88.9 ns ± 1.17 ns per loop (mean ± std. dev. of 7 runs, 10,000,000 loops each)\n"
108108
]
109109
}
110110
],

Diff for: Notebooks/Python_Tasks/10_NLP_simple text_classification.ipynb

+1,048-1
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)