Frage im Vorstellungsgespräch bei RBC

Reverse string using python (performed on hacker-rank like website)