18 lines
334 B
Python
18 lines
334 B
Python
def append(list1, list2):
|
|
result = []
|
|
|
|
for element in list1:
|
|
result.append(element)
|
|
for element in list2:
|
|
result.append(element)
|
|
return result
|
|
|
|
def concat(lists):
|
|
result = []
|
|
|
|
for current_list in lists:
|
|
for element in current_list:
|
|
result.append(element)
|
|
return result
|
|
|