From 9e5b295d0bd00caf7a6b5b11ff3291c20d043b10 Mon Sep 17 00:00:00 2001 From: EfremovSI Date: Mon, 17 Nov 2025 09:05:26 +0000 Subject: [PATCH] =?UTF-8?q?=D0=98=D0=B7=D0=BC=D0=B5=D0=BD=D0=B8=D0=BB(?= =?UTF-8?q?=D0=B0)=20=D0=BD=D0=B0=20'TEMA6/task.md'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- TEMA6/task.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/TEMA6/task.md b/TEMA6/task.md index 56f2bf3..57868d4 100644 --- a/TEMA6/task.md +++ b/TEMA6/task.md @@ -56,9 +56,9 @@ print('yes' if obj_5_2 == list_fam else 'no') -groups = [] for i in range(0, len(obj_5_1), 5): - group = list(obj_5_1[i:i+5]) - groups.append(group) - print(f" Группа {len(groups)}: {group}") + exec(f'spis{i//5} = list(obj_5_1[i:i+5])') + +for i in range(len(obj_5_1) // 5): # вывод + exec(f'print("spis" + str(i) + ":", spis{i})') ```