Domanda di colloquio di Barclays

Reverse a list in python and how to extract elements from list in python