Python Playground - Function to reverse a string: Online Interpreter, Compiler & Editor | Sololearn