From 8f70c5255cf26e4d8f7021f15aef31705463c04c Mon Sep 17 00:00:00 2001 From: Roman Dmytruk Date: Tue, 29 Sep 2026 14:51:15 +0000 Subject: [PATCH] Update u2/list_ops.py --- u2/list_ops.py | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/u2/list_ops.py b/u2/list_ops.py index 068983e..248dc48 100644 --- a/u2/list_ops.py +++ b/u2/list_ops.py @@ -1,4 +1,3 @@ - def append(list1, list2): result = [] for item in list1: @@ -24,4 +23,14 @@ def length(l): result = 0 for item in l: result +=1 - return result \ No newline at end of file + return result + +def map(function, list): + + +def foldl(function, list, initial): + + +def foldr(function, list, initial): + +def reverse(list):