TORONTO KIDS COMPUTER CLUB | Thursday 17:00 Python Practice – 23.01.19.
21652
post-template-default,single,single-post,postid-21652,single-format-standard,ajax_fade,page_not_loaded,,qode-theme-ver-7.6.2,wpb-js-composer js-comp-ver-6.10.0,vc_responsive

Thursday 17:00 Python Practice – 23.01.19.

24 Jan Thursday 17:00 Python Practice – 23.01.19.

Question:

We have a list of following:

zoo = ['monkeys', 'tigers', 'pandas', 'penguins', 'giraffes', 'hippos', 'bears']

how to retrieve a slice of list zoo, so you can get the following results?

['tigers', 'pandas', 'penguins', 'giraffes']
['hippos', 'bears']
No Comments

Sorry, the comment form is closed at this time.