Skip to content

Commit f5d7aaa

Browse files
committed
strings
1 parent 34f55fc commit f5d7aaa

File tree

1 file changed

+14
-2
lines changed

1 file changed

+14
-2
lines changed

notebooks/beginner/exercises/strings_exercise.ipynb

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -140,9 +140,21 @@
140140
},
141141
{
142142
"cell_type": "code",
143-
"execution_count": null,
143+
"execution_count": 1,
144144
"metadata": {},
145-
"outputs": [],
145+
"outputs": [
146+
{
147+
"ename": "NameError",
148+
"evalue": "name 'sentence' is not defined",
149+
"output_type": "error",
150+
"traceback": [
151+
"\u001b[0;31m---------------------------------------------------------------------------\u001b[0m",
152+
"\u001b[0;31mNameError\u001b[0m Traceback (most recent call last)",
153+
"\u001b[0;32m<ipython-input-1-32941c1d551f>\u001b[0m in \u001b[0;36m<module>\u001b[0;34m\u001b[0m\n\u001b[1;32m 1\u001b[0m \u001b[0mcadena_f\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0;34m\"TODO\"\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 2\u001b[0m \u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m----> 3\u001b[0;31m \u001b[0;32massert\u001b[0m \u001b[0msentence\u001b[0m \u001b[0;34m==\u001b[0m \u001b[0;34m'Learning Python is VERY fun!'\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m",
154+
"\u001b[0;31mNameError\u001b[0m: name 'sentence' is not defined"
155+
]
156+
}
157+
],
146158
"source": [
147159
"cadena_f = \"TODO\"\n",
148160
"\n",

0 commit comments

Comments
 (0)