Append multiple words


#1



https://www.codecademy.com/courses/python-beginner-nzzVa/3/5?curriculum_id=4f89dab3d788890003000096#

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)


#2

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


#3

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