Skip to content

Commit a662095

Browse files
authored
Added missing explanation bit. (#831)
* Added missing explanation. * Update to make the question clear
1 parent b5b57e8 commit a662095

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

_episodes/05-lists.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -442,13 +442,18 @@ last: 4
442442
>
443443
> Use the step size argument to create a new string
444444
> that contains only every other character in the string
445-
> "In an octopus's garden in the shade"
445+
> "In an octopus's garden in the shade". Start with
446+
> creating a variable to hold the string:
446447
>
447448
> ~~~
448449
> beatles = "In an octopus's garden in the shade"
449450
> ~~~
450451
> {: .language-python}
451452
>
453+
> What slice of `beatles` will produce the
454+
> following output (i.e., the first character, third
455+
> character, and every other character through the end
456+
> of the string)?
452457
> ~~~
453458
> I notpssgre ntesae
454459
> ~~~

0 commit comments

Comments
 (0)