Can someone tell me why this is wrong? I'm getting the correct output ('MichaelLiebermann'), but I get the Console tells me the exercise is still wrong.
I get this error message: Oops, try again. join__strings(['x', 'y', 'z', 'a']) returned 'xa' instead of 'xyza'
Can anyone tell me why this is wrong?
n = ["Michael", "Lieberman"] def join_strings(words): result =  for i in words: if i == words: result.append(i) else: result = result + i return result # Add your function here print join_strings(n)