id/email
password
forgot password | create account
about | help | code help+videos | done | prefs
CodingBat code practice

 

konstans@stuy.edu > MergeWords
prev  |  next  |  chance

Given two lists of strings that are the same length: return a new list that is made up of the concatenated corresponding elements of the two lists.


MergeWords(['M', 'na', 'i', 'Ke'], ['y', 'me', 's', 'lly']) → ['My', 'name', 'is', 'Kelly']
MergeWords([], []) → []
MergeWords(['a', 's', 'd'], ['w', '1', '2']) → ['aw', 's1', 'd2']

...Save, Compile, Run (ctrl-enter)

def MergeWords(a,b):

Editor font size %:
Shorter output


Forget It! -- delete my code for this problem

Progress graphs:
 Your progress graph for this problem
 Random user progress graph for this problem
 Random Epic Progress Graph

Python Help

Copyright Nick Parlante 2017 - privacy