Skip to content

Commit 5cb6921

Browse files
committed
First Version with solution to all questions in Assignment 5
1 parent f9daa9e commit 5cb6921

File tree

9 files changed

+258
-128
lines changed

9 files changed

+258
-128
lines changed

Assignments/EN/Assignment_5.ipynb

Lines changed: 226 additions & 102 deletions
Large diffs are not rendered by default.

Exercises/EN/Basic/03_Lists_and_For_Loops.ipynb

Lines changed: 23 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@
6060
},
6161
{
6262
"cell_type": "code",
63-
"execution_count": null,
63+
"execution_count": 1,
6464
"metadata": {},
6565
"outputs": [],
6666
"source": [
@@ -80,9 +80,27 @@
8080
},
8181
{
8282
"cell_type": "code",
83-
"execution_count": null,
83+
"execution_count": 2,
8484
"metadata": {},
85-
"outputs": [],
85+
"outputs": [
86+
{
87+
"name": "stdout",
88+
"output_type": "stream",
89+
"text": [
90+
"['Facebook', 0.0, 'USD', 2974676, 3.5]\n"
91+
]
92+
},
93+
{
94+
"data": {
95+
"text/plain": [
96+
"list"
97+
]
98+
},
99+
"execution_count": 2,
100+
"metadata": {},
101+
"output_type": "execute_result"
102+
}
103+
],
86104
"source": [
87105
"row_one = ['Facebook', 0.0, 'USD', 2974676, 3.5]\n",
88106
"print(row_one)\n",
@@ -131,7 +149,7 @@
131149
"outputs": [],
132150
"source": [
133151
"# Start your code below:\n",
134-
"\n"
152+
"row_two =[\"InstagR\"]\n"
135153
]
136154
},
137155
{
@@ -947,7 +965,7 @@
947965
"name": "python",
948966
"nbconvert_exporter": "python",
949967
"pygments_lexer": "ipython3",
950-
"version": "3.8.10"
968+
"version": "3.10.9"
951969
}
952970
},
953971
"nbformat": 4,

Exercises/EN/Basic/Quiz_Classes_Solutions.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -537,7 +537,7 @@
537537
"name": "python",
538538
"nbconvert_exporter": "python",
539539
"pygments_lexer": "ipython3",
540-
"version": "3.8.10"
540+
"version": "3.10.9"
541541
}
542542
},
543543
"nbformat": 4,

Exercises/EN/Basic/Quiz_Comprehensions_Functional_Solutions.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -471,7 +471,7 @@
471471
"name": "python",
472472
"nbconvert_exporter": "python",
473473
"pygments_lexer": "ipython3",
474-
"version": "3.8.10"
474+
"version": "3.10.9"
475475
}
476476
},
477477
"nbformat": 4,

Exercises/EN/Basic/Quiz_Data_Types_Solutions.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1025,7 +1025,7 @@
10251025
"toc_visible": true
10261026
},
10271027
"kernelspec": {
1028-
"display_name": "Python 3",
1028+
"display_name": "Python 3 (ipykernel)",
10291029
"language": "python",
10301030
"name": "python3"
10311031
},
@@ -1039,7 +1039,7 @@
10391039
"name": "python",
10401040
"nbconvert_exporter": "python",
10411041
"pygments_lexer": "ipython3",
1042-
"version": "3.8.5"
1042+
"version": "3.10.9"
10431043
}
10441044
},
10451045
"nbformat": 4,

Exercises/EN/Quizzes/Quiz_Regular_Expressions.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1542,7 +1542,7 @@
15421542
],
15431543
"metadata": {
15441544
"kernelspec": {
1545-
"display_name": "Python 3",
1545+
"display_name": "Python 3 (ipykernel)",
15461546
"language": "python",
15471547
"name": "python3"
15481548
},
@@ -1556,7 +1556,7 @@
15561556
"name": "python",
15571557
"nbconvert_exporter": "python",
15581558
"pygments_lexer": "ipython3",
1559-
"version": "3.8.5"
1559+
"version": "3.10.9"
15601560
},
15611561
"toc": {
15621562
"base_numbering": 1,

Exercises/EN/Quizzes/Quiz_Twitter_Solutionsr.ipynb

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@
2424
"execution_count": 1,
2525
"id": "complex-belle",
2626
"metadata": {
27-
"collapsed": false,
2827
"jupyter": {
2928
"outputs_hidden": false
3029
}
@@ -49,7 +48,6 @@
4948
"execution_count": 2,
5049
"id": "economic-fancy",
5150
"metadata": {
52-
"collapsed": false,
5351
"jupyter": {
5452
"outputs_hidden": false
5553
}
@@ -77,7 +75,6 @@
7775
"execution_count": 3,
7876
"id": "invalid-stability",
7977
"metadata": {
80-
"collapsed": false,
8178
"jupyter": {
8279
"outputs_hidden": false
8380
}
@@ -100,7 +97,6 @@
10097
"execution_count": 4,
10198
"id": "suspected-buddy",
10299
"metadata": {
103-
"collapsed": false,
104100
"jupyter": {
105101
"outputs_hidden": false
106102
}
@@ -116,7 +112,6 @@
116112
"execution_count": 5,
117113
"id": "crucial-blocking",
118114
"metadata": {
119-
"collapsed": false,
120115
"jupyter": {
121116
"outputs_hidden": false
122117
}
@@ -147,7 +142,6 @@
147142
"execution_count": 6,
148143
"id": "suffering-audio",
149144
"metadata": {
150-
"collapsed": false,
151145
"jupyter": {
152146
"outputs_hidden": false
153147
}
@@ -165,7 +159,6 @@
165159
"execution_count": 7,
166160
"id": "plain-withdrawal",
167161
"metadata": {
168-
"collapsed": false,
169162
"jupyter": {
170163
"outputs_hidden": false
171164
}
@@ -199,7 +192,6 @@
199192
"execution_count": null,
200193
"id": "acute-pathology",
201194
"metadata": {
202-
"collapsed": false,
203195
"jupyter": {
204196
"outputs_hidden": false
205197
}
@@ -227,7 +219,7 @@
227219
"name": "python",
228220
"nbconvert_exporter": "python",
229221
"pygments_lexer": "ipython3",
230-
"version": "3.8.10"
222+
"version": "3.10.9"
231223
}
232224
},
233225
"nbformat": 4,

Exercises/EN/Quizzes/Quiz_Word_frequency.ipynb

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323
"execution_count": 1,
2424
"id": "certain-arrow",
2525
"metadata": {
26-
"collapsed": false,
2726
"jupyter": {
2827
"outputs_hidden": false
2928
}
@@ -47,7 +46,6 @@
4746
"execution_count": 2,
4847
"id": "vocational-secretary",
4948
"metadata": {
50-
"collapsed": false,
5149
"jupyter": {
5250
"outputs_hidden": false
5351
}
@@ -63,7 +61,6 @@
6361
"execution_count": 3,
6462
"id": "gothic-helping",
6563
"metadata": {
66-
"collapsed": false,
6764
"jupyter": {
6865
"outputs_hidden": false
6966
}
@@ -86,7 +83,6 @@
8683
"execution_count": 4,
8784
"id": "prime-negotiation",
8885
"metadata": {
89-
"collapsed": false,
9086
"jupyter": {
9187
"outputs_hidden": false
9288
}
@@ -180,7 +176,7 @@
180176
"name": "python",
181177
"nbconvert_exporter": "python",
182178
"pygments_lexer": "ipython3",
183-
"version": "3.8.10"
179+
"version": "3.10.9"
184180
}
185181
},
186182
"nbformat": 4,

Notebooks/Python_Tasks/14_Spatial_Analysis.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2933,7 +2933,7 @@
29332933
"name": "python",
29342934
"nbconvert_exporter": "python",
29352935
"pygments_lexer": "ipython3",
2936-
"version": "3.10.6"
2936+
"version": "3.10.9"
29372937
}
29382938
},
29392939
"nbformat": 4,

0 commit comments

Comments
 (0)