From 6a957655bfb41515a18ac148374a3ba91dd7d9f9 Mon Sep 17 00:00:00 2001 From: root Date: Tue, 23 Sep 2025 00:00:33 +0300 Subject: [PATCH] fix: mygroup codestyle --- mygroup.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/mygroup.py b/mygroup.py index 910182b..dc49441 100644 --- a/mygroup.py +++ b/mygroup.py @@ -37,6 +37,10 @@ def print_students(students, target_score=4.5): for student in students: if sum(student["marks"]) / len(student["marks"]) > 4.5: - print(student["name"].ljust(15), student["surname"].ljust(15), str(student["exams"]).ljust(40), str(student["marks"]).ljust(20)) + print( + student["name"].ljust(15), + student["surname"].ljust(15), + str(student["exams"]).ljust(40), + str(student["marks"]).ljust(20)) -print_students(groupmates, 4.5) +print_students(groupmates)