change users
This commit is contained in:
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
django_project/django_project/__pycache__/urls.cpython-310.pyc
Normal file
BIN
django_project/django_project/__pycache__/urls.cpython-310.pyc
Normal file
Binary file not shown.
BIN
django_project/django_project/__pycache__/wsgi.cpython-310.pyc
Normal file
BIN
django_project/django_project/__pycache__/wsgi.cpython-310.pyc
Normal file
Binary file not shown.
@@ -36,7 +36,7 @@ def print_students(students, target_score=4.5):
|
||||
print(u"Имя".ljust(15), u"Фамилия".ljust(15), u"Экзамены".ljust(40), u"Оценки".ljust(20))
|
||||
|
||||
for student in students:
|
||||
if sum(student["marks"]) / len(student["marks"]) > 4.5:
|
||||
if sum(student["marks"]) / len(student["marks"]) > target_score:
|
||||
print(
|
||||
student["name"].ljust(15),
|
||||
student["surname"].ljust(15),
|
||||
|
||||
Reference in New Issue
Block a user