Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 1 addition & 9 deletions 02_assignments/assignment_2.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -90,13 +90,10 @@
},
{
"cell_type": "code",
"execution_count": null,
"execution_count": 1,
"metadata": {
"id": "n0m48JsS-nMC"
},
<<<<<<< HEAD
"outputs": [],
=======
"outputs": [
{
"name": "stdout",
Expand Down Expand Up @@ -165,7 +162,6 @@
]
}
],
>>>>>>> 59d5658 (Submitting the completion of Assignment number 2)
"source": [
"import csv\n",
"\n",
Expand All @@ -185,13 +181,9 @@
"]\n",
"\n",
"with open(all_paths[0], 'r') as f:\n",
<<<<<<< HEAD
" # YOUR CODE HERE: Use the readline() or readlines() method to read the .csv file into 'contents'\n",
=======
" contents = f.readlines()\n",
"# YOUR CODE HERE: Use the readline() method to read the .csv file into 'contents'\n",
"\n",
>>>>>>> 59d5658 (Submitting the completion of Assignment number 2)
" \n",
"# YOUR CODE HERE: Iterate through 'contents' using a for loop and print each row for inspection\n",
"for line in contents:\n",
Expand Down