<human>:  Reverse a string
<bot>: Here is some code to reverse string 'foo'

''.join(reversed('foo'))

#Warning: this code generation is experimental. Please inspect the code for any bugs before executing.