Reverse String Using Lambda Python Docs Loops