|
70 | 70 | " \"../05_data/assignment_2_data/inflammation_09.csv\",\n", |
71 | 71 | " \"../05_data/assignment_2_data/inflammation_10.csv\",\n", |
72 | 72 | " \"../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", |
74 | 74 | "]\n", |
75 | 75 | "```" |
76 | 76 | ] |
|
90 | 90 | }, |
91 | 91 | { |
92 | 92 | "cell_type": "code", |
93 | | - "execution_count": null, |
| 93 | + "execution_count": 1, |
94 | 94 | "metadata": { |
95 | 95 | "id": "n0m48JsS-nMC" |
96 | 96 | }, |
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 | + ], |
98 | 107 | "source": [ |
99 | 108 | "with open(all_paths[0], 'r') as f:\n", |
100 | 109 | " # YOUR CODE HERE: Use the readline() method to read the .csv file into 'contents'\n", |
|
276 | 285 | "outputs": [], |
277 | 286 | "source": [ |
278 | 287 | "# 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", |
280 | 289 | "print(detect_problems(all_paths[0]))" |
281 | 290 | ] |
282 | 291 | }, |
|
0 commit comments