15 Apr Tuesday 17:00 Python Practice – 23.04.11.
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 results?
['tigers', 'pandas', 'penguins', 'giraffes'] ['hippos', 'bears']
Sorry, the comment form is closed at this time.