Sollicitatievraag bij Barclays

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