fix: mygroup codestyle
This commit is contained in:
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user