diff --git a/u2/list_ops.py b/u2/list_ops.py index 29a5cf9..45bc203 100644 --- a/u2/list_ops.py +++ b/u2/list_ops.py @@ -27,7 +27,7 @@ def length(l): def map(function, list): result = [] - for item in list + for item in list: result += [function(item)] return result