Complete the solution so that it reverses the string value passed into it.
solution('world') # returns 'dlrow'def solution(string):
passdef solution(string):
return string[::-1]def solution(string):
return "".join([l for l in string][::-1])