I might just be overlooking the obvious here, but what am I doing wrong?
n = ["Michael", "Lieberman"] # Add your function here def join_strings(words): result = "" for words in n: result = result + words return result print join_strings(n)
Oops, try again. join_strings(['x', 'y', 'z', 'a']) returned 'MichaelLieberman' instead of 'xyza'
What am I doing wrong?
Why is it referring to xyza whilest this is mentioned nowhere in the exercise?