#sample solution
n = [[1,2,3],[4,5,6,7,8,9]]
#function goes here
def myFun(singleListOfSublists):
concatenatedSubLists = []
for subList in singleListOfSublists:
for num in subList:
concatenatedSubLists.append(num)
return concatenatedSubLists
print myFun(n)
No comments:
Post a Comment