Skip to content

Commit 1f8d719

Browse files
Merge pull request #179 from coding-for-reproducible-research/incorrect_example
Fixed an incorrect example in control flow
2 parents 7fbd8c1 + f10e5df commit 1f8d719

File tree

1 file changed

+17
-10
lines changed

1 file changed

+17
-10
lines changed

individual_modules/introduction_to_python/control_flow.ipynb

Lines changed: 17 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -218,18 +218,25 @@
218218
},
219219
{
220220
"cell_type": "code",
221-
"execution_count": 1,
222-
"id": "887b2841-3115-4819-b734-7cc094034ab3",
223-
"metadata": {},
221+
"execution_count": null,
222+
"id": "5059803d-6218-4b8b-a701-2356cb164761",
223+
"metadata": {
224+
"editable": true,
225+
"slideshow": {
226+
"slide_type": ""
227+
},
228+
"tags": [
229+
"remove-output"
230+
]
231+
},
224232
"outputs": [],
225233
"source": [
226-
"if False:\n",
227-
" if 4 > 5:\n",
228-
" print('A')\n",
229-
" elif 4 == 5:\n",
230-
" print('B')\n",
231-
" elif 4 < 5:\n",
232-
" print('C')"
234+
"if 4 > 5:\n",
235+
" print('A')\n",
236+
"elif 4 == 5:\n",
237+
" print('B')\n",
238+
"elif 4 < 5:\n",
239+
" print('C')"
233240
]
234241
},
235242
{

0 commit comments

Comments
 (0)