Skip to content

Commit be36445

Browse files
authored
Fix print statement formatting in assignment_2.ipynb
1 parent 5e5742a commit be36445

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

02_activities/assignments/assignment_2.ipynb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@
9595
"\n",
9696
"with open(all_paths[0], 'r') as f:\n",
9797
" # YOUR CODE HERE: Use the readline() or readlines() method to read the .csv file into a variable\n",
98+
" \n",
9899
" dataset = f.readlines()\n", # reads only first item inflammation_01.csv
99100
" # YOUR CODE HERE: Iterate through the variable using a for loop and print each row for inspection"
100101
" for x in dataset:\n",
@@ -269,7 +270,7 @@
269270
" mean_data = patient_summary(file_path, 'mean')\n",
270271
" result = check_zeros(mean_data)\n",
271272
" if result:\n",
272-
" print(f\"check zero returned {result}, i.e average (mean) inflammation score of 0")\n",
273+
" print(f\"check zero returned {result}, i.e average (mean) inflammation score of 0"),
273274
" return result"
274275
"\n",
275276
" return"

0 commit comments

Comments
 (0)