Add u2/list_ops.py successfully

This commit is contained in:
Maksym Kurets 2026-09-30 22:18:35 +02:00
parent d52dc2dfa3
commit 81ac85ee6f
2 changed files with 16 additions and 0 deletions

8
u2/ list_ops.py Normal file
View File

@ -0,0 +1,8 @@
def append(list1, list2):
pusti = []
for gns in list1:
pusti.append(gns)
for exc in list2:
pusti.append(exc)
return pusti

View File

@ -0,0 +1,8 @@
def append(list1, list2):
pusti = []
for gns in list1:
pusti.append(gns)
for exc in list2:
pusti.append(exc)
return pusti