I attempted this question with the following code and the results seemed corrected. However, I was given an error message:
Oops, try again. join_strings(['x', 'y', 'z', 'a']) returned ' xyza' instead of 'xyza'
I expected the code to work but apparently "xyza" =/= "xyza"...
n = ["Michael", "Lieberman"] # Add your function here def join_strings(words): result = " " for i in range(len(words)): result += words[i] return result print join_strings(n)