Skip to content

Commit 34f9206

Browse files
committed
Change todos to 4 x underscores
1 parent d76a880 commit 34f9206

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

notebooks/beginner/exercises/conditionals_exercise.ipynb

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"metadata": {},
66
"source": [
77
"# 1. `if-elif-else`\n",
8-
"Fill `'TODO'` statements such that prints make sense."
8+
"Fill missing pieces (`____`) of the following code such that prints make sense."
99
]
1010
},
1111
{
@@ -25,19 +25,17 @@
2525
"metadata": {},
2626
"outputs": [],
2727
"source": [
28-
"# Modify 'TODO's\n",
29-
"\n",
30-
"if 'TODO':\n",
28+
"if ____:\n",
3129
" print('Name \"{}\" is more than 20 chars long'.format(name))\n",
3230
" length_description = 'long'\n",
33-
"elif 'TODO':\n",
31+
"elif ____:\n",
3432
" print('Name \"{}\" is more than 15 chars long'.format(name))\n",
3533
" length_description = 'semi long'\n",
36-
"elif 'TODO':\n",
34+
"elif ____:\n",
3735
" print('Name \"{}\" is more than 10 chars long'.format(name))\n",
3836
" length_description = 'semi long'\n",
39-
"elif 'TODO':\n",
40-
" print('Name \"{}\" is more than 8,9 or 10 chars long'.format(name))\n",
37+
"elif ____:\n",
38+
" print('Name \"{}\" is 8, 9 or 10 chars long'.format(name))\n",
4139
" length_description = 'semi short'\n",
4240
"else:\n",
4341
" print('Name \"{}\" is a short name'.format(name))\n",

0 commit comments

Comments
 (0)