From bd59a5aea2196d53457fd1fdac46e76536d0a362 Mon Sep 17 00:00:00 2001 From: Neuf Date: Mon, 15 Sep 2025 17:30:46 +0500 Subject: [PATCH] =?UTF-8?q?6-=D0=B7=D0=B0=D0=B4=D0=B0=D0=BD=D0=B8=D0=B5=20?= =?UTF-8?q?=D0=B2=D1=8B=D0=BF=D0=BE=D0=BB=D0=BD=D0=B5=D0=BD=D0=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Module16/06_unique_combination/main.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/Module16/06_unique_combination/main.py b/Module16/06_unique_combination/main.py index c93923e..b809168 100644 --- a/Module16/06_unique_combination/main.py +++ b/Module16/06_unique_combination/main.py @@ -7,16 +7,12 @@ def merge_sorted_lists(collection1, collection2): break else: result_collection.append(value2) - print(result_collection) result_collection.extend(collection1) - print(result_collection) result_collection.sort() - print(result_collection) - return result_collection # Пример использования: -list1 = [1, 3, 5, 7, 9, 5] +list1 = [1, 3, 5, 7, 9] list2 = [2, 4, 5, 6, 8, 10] merged = merge_sorted_lists(list1, list2) print(merged) \ No newline at end of file