Frage im Vorstellungsgespräch bei Cognizant

He gave an array and asked me to reverse it with python