TORONTO KIDS COMPUTER CLUB | Aurora Tuesday 18:30 Python Practice – 10 20.10.13.
18458
post-template-default,single,single-post,postid-18458,single-format-standard,ajax_fade,page_not_loaded,,no_animation_on_touch,qode-theme-ver-7.6.2,wpb-js-composer js-comp-ver-6.10.0,vc_responsive

Aurora Tuesday 18:30 Python Practice – 10 20.10.13.

14 Oct Aurora Tuesday 18:30 Python Practice – 10 20.10.13.

Question 1:
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 result?

['monkeys', 'pandas', 'giraffes', 'bears']

Question 2:
from the same list of zoo in the question 1, how to retrieve a slice of list zoo, so you can get the following result?

['bears', 'penguins', 'monkeys']
No Comments

Sorry, the comment form is closed at this time.