Mater Dei Python Code
Sunday, March 9, 2014
List 16/18
n = ["Michael", "Lieberman"]
# Add your function here
def join_strings(words):
#indent 1
result = ""
for i in range(len(words)):
#indent 2
result += words[i]
#indent 1
return result
#no indent
print join_strings(n)
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment