fix: mygroup codestyle

This commit is contained in:
root
2025-09-23 00:00:33 +03:00
parent 6e16046343
commit 6a957655bf

View File

@@ -37,6 +37,10 @@ def print_students(students, target_score=4.5):
for student in students: for student in students:
if sum(student["marks"]) / len(student["marks"]) > 4.5: 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)