Complete the solution so that it reverses the string passed into it.
'world' => 'dlrow'
'word' => 'drow'
def solution(str)
str.reverse
end
Complete the solution so that it reverses the string passed into it.
'world' => 'dlrow'
'word' => 'drow'
def solution(str)
str.reverse
end