Skip to content

Commit 1e42a32

Browse files
authored
Merge pull request #41 from UofT-DSI/update
Fix mistake in Assignment 2, Part 3
2 parents c4cfcc1 + 9a47a12 commit 1e42a32

File tree

1 file changed

+13
-4
lines changed

1 file changed

+13
-4
lines changed

02_assignments/assignment_2.ipynb

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@
7070
" \"../05_data/assignment_2_data/inflammation_09.csv\",\n",
7171
" \"../05_data/assignment_2_data/inflammation_10.csv\",\n",
7272
" \"../05_data/assignment_2_data/inflammation_11.csv\",\n",
73-
" \"../05_data/assignment_2_data/inflammation_12.csv\",\n",
73+
" \"../05_data/assignment_2_data/inflammation_12.csv\"\n",
7474
"]\n",
7575
"```"
7676
]
@@ -90,11 +90,20 @@
9090
},
9191
{
9292
"cell_type": "code",
93-
"execution_count": null,
93+
"execution_count": 1,
9494
"metadata": {
9595
"id": "n0m48JsS-nMC"
9696
},
97-
"outputs": [],
97+
"outputs": [
98+
{
99+
"ename": "SyntaxError",
100+
"evalue": "incomplete input (1182499344.py, line 4)",
101+
"output_type": "error",
102+
"traceback": [
103+
"\u001b[0;36m Cell \u001b[0;32mIn[1], line 4\u001b[0;36m\u001b[0m\n\u001b[0;31m # YOUR CODE HERE: Iterate through 'contents' using a for loop and print each row for inspection\u001b[0m\n\u001b[0m ^\u001b[0m\n\u001b[0;31mSyntaxError\u001b[0m\u001b[0;31m:\u001b[0m incomplete input\n"
104+
]
105+
}
106+
],
98107
"source": [
99108
"with open(all_paths[0], 'r') as f:\n",
100109
" # YOUR CODE HERE: Use the readline() method to read the .csv file into 'contents'\n",
@@ -276,7 +285,7 @@
276285
"outputs": [],
277286
"source": [
278287
"# Test out your code here\n",
279-
"# Your output for the first file should be True\n",
288+
"# Your output for the first file should be False\n",
280289
"print(detect_problems(all_paths[0]))"
281290
]
282291
},

0 commit comments

Comments
 (0)