Skip to content

Commit c7bcc6d

Browse files
committed
introduce the code to be considered
1 parent 588ef8c commit c7bcc6d

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

_episodes/05-cond.md

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -202,13 +202,7 @@ freeing us from having to manually examine every plot for features we've seen be
202202

203203
> ## How Many Paths?
204204
>
205-
> Which of the following would be printed if you were to run this code?
206-
> Why did you pick this answer?
207-
>
208-
> 1. A
209-
> 2. B
210-
> 3. C
211-
> 4. B and C
205+
> Consider this code:
212206
>
213207
> ~~~
214208
> if 4 > 5:
@@ -220,6 +214,14 @@ freeing us from having to manually examine every plot for features we've seen be
220214
> ~~~
221215
> {: .python}
222216
>
217+
> Which of the following would be printed if you were to run this code?
218+
> Why did you pick this answer?
219+
>
220+
> 1. A
221+
> 2. B
222+
> 3. C
223+
> 4. B and C
224+
>
223225
> > ## Solution
224226
> > C gets printed because the first two conditions, `4 > 5` and `4 == 5`, are not true,
225227
> > but `4 < 5` is true.

0 commit comments

Comments
 (0)