11 Apr Tuesday 17:30 Python Homework 21.04.06.
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?
['penguins', 'bears']
Sorry, the comment form is closed at this time.