Append multiple words


How to append multiple words(as in this exercise) to the empty string (result)...
what should i add in the code in the _______ place..

n = ["Michael", "Lieberman"]
# Add your function here
def join_strings(words):
    result =""
    for i in range(len(words)):
    return result

print join_strings(n)


You use + to "append" strings. Your for loop will repeat the process.


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.