16. Using strings in lists in functions


#1

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)

This is not working for me


16. Using strings in lists in functions
#2

Hi! Is your "return" statement in line with your "for" statement? I know that usually messes up my code


#3

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