From 00e66cdf61bbd2f29cb5c7cbad4b78d086020dd3 Mon Sep 17 00:00:00 2001 From: Roman Dmytruk Date: Tue, 29 Sep 2026 14:06:47 +0000 Subject: [PATCH] Update u2/list_ops.py --- u2/list_ops.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/u2/list_ops.py b/u2/list_ops.py index b8be04a..6214639 100644 --- a/u2/list_ops.py +++ b/u2/list_ops.py @@ -1,14 +1,14 @@ def length(l): count = 0 - for c in range l: + for item in range l: count +=1 return count def append(list1, list2): - list = [] + result = [] for item in list1: - list += [item] + result += [item] for item in list2: - list += [item] - return list + result += [item] + return result