Skip to content

Commit 9ba79ee

Browse files
committed
Fix run error.
1 parent 10b8afb commit 9ba79ee

1 file changed

Lines changed: 13 additions & 11 deletions

File tree

notes/Y2-Exam_Review.ipynb

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@
230230
"outputs": [],
231231
"source": [
232232
"# Test the function on a new input \n",
233-
"multiply(['ant', 'bat', 'cat'])"
233+
"# multiply(['ant', 'bat', 'cat'])"
234234
]
235235
},
236236
{
@@ -863,8 +863,8 @@
863863
"# Split sentence into a list of words\n",
864864
"\n",
865865
"# Loop over the words...\n",
866-
" # see if they are in the \"french\" dictionary\n",
867-
" # if they are, print their translation"
866+
" # see if they are in the \"french\" dictionary\n",
867+
" # if they are, print their translation"
868868
]
869869
},
870870
{
@@ -897,9 +897,9 @@
897897
"# Initialize an empty translated sentence \n",
898898
"\n",
899899
"# Loop over the words...\n",
900-
" # see if they are in the \"french\" dictionary\n",
901-
" # if they are, translate them and add to translation\n",
902-
" # Otherwise, add to translated"
900+
" # see if they are in the \"french\" dictionary\n",
901+
" # if they are, translate them and add to translation\n",
902+
" # Otherwise, add to translated"
903903
]
904904
},
905905
{
@@ -1116,7 +1116,7 @@
11161116
"outputs": [],
11171117
"source": [
11181118
"# Test the function on original input\n",
1119-
"triple_third(nums)"
1119+
"# triple_third(nums)"
11201120
]
11211121
},
11221122
{
@@ -1128,7 +1128,7 @@
11281128
"outputs": [],
11291129
"source": [
11301130
"# Test the function on a new input\n",
1131-
"triple_third([1,1,1,1,1,1,2,2,2])"
1131+
"# triple_third([1,1,1,1,1,1,2,2,2])"
11321132
]
11331133
},
11341134
{
@@ -1254,7 +1254,8 @@
12541254
},
12551255
"outputs": [],
12561256
"source": [
1257-
"pig_latin(\"jumps over the lazy dog\")"
1257+
"# Test the function\n",
1258+
"# pig_latin(\"jumps over the lazy dog\")"
12581259
]
12591260
},
12601261
{
@@ -1774,8 +1775,9 @@
17741775
},
17751776
"outputs": [],
17761777
"source": [
1777-
"result = random_casablanca(casablanca, \"Casablanca\")\n",
1778-
"print(result)"
1778+
"# Test the function \n",
1779+
"# result = random_casablanca(casablanca, \"Casablanca\")\n",
1780+
"# print(result)"
17791781
]
17801782
}
17811783
],

0 commit comments

Comments
 (0)