Pergunta de entrevista da empresa Barclays

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