|
|
@@ -6,22 +6,22 @@ students_list = []
|
|
|
# На 4-5
|
|
|
students_list.append("Артикуленко Маргарита Михайловна ")
|
|
|
students_list.append("Белошапко Карина Алексеевна")
|
|
|
-students_list.append("Ескин Владислав Игоревич")
|
|
|
+# students_list.append("Ескин Владислав Игоревич")
|
|
|
students_list.append("Костылев Дмитрий Максимович ")
|
|
|
-# students_list.append("Литвиненко Александра Александровна")
|
|
|
-# students_list.append("Николаенко Арина Игоревна ")
|
|
|
+students_list.append("Литвиненко Александра Александровна")
|
|
|
+students_list.append("Николаенко Арина Игоревна ")
|
|
|
students_list.append("Обухова Дарья Михайловна")
|
|
|
-students_list.append("Пивоварова Анна Олеговна")
|
|
|
+# students_list.append("Пивоварова Анна Олеговна")
|
|
|
students_list.append("Сергеева Алена Николаевна")
|
|
|
students_list.append("Сушенок Анастасия Витальевна")
|
|
|
students_list.append("Горелый Илья Александрович ")
|
|
|
students_list.append("Пастухов Иван Геннадьевич")
|
|
|
-# students_list.append("Суровый Александр Владимирович")
|
|
|
-# students_list.append("Тарабан Матвей Владимирович")
|
|
|
+students_list.append("Суровый Александр Владимирович")
|
|
|
+students_list.append("Тарабан Матвей Владимирович")
|
|
|
|
|
|
# На 3
|
|
|
students_list.append("Акуленко Илья Игоревич ")
|
|
|
-students_list.append("Дорошенко Иван Дмитриевич")
|
|
|
+# students_list.append("Дорошенко Иван Дмитриевич")
|
|
|
students_list.append("Жевлаков Иван Артурович")
|
|
|
students_list.append("Плехотко Сергей Николаевич")
|
|
|
students_list.append("Понкрашов Александр Николаевич")
|
|
|
@@ -35,36 +35,14 @@ rand_student = random.choice(students_list)
|
|
|
n_rand_student = random.randint(0,len(students_list)-1)
|
|
|
rand_student = students_list[n_rand_student]
|
|
|
"""
|
|
|
-prakt_list = ["Практ. №7",]
|
|
|
-
|
|
|
-# Электронный журнал
|
|
|
-journal_26_dict = {}
|
|
|
-
|
|
|
# выбираем случайного студента
|
|
|
rand_student = random.choice(students_list)
|
|
|
-random.shuffle(prakt_list)
|
|
|
|
|
|
-# количество задач в практической работе
|
|
|
-n_zadach = 0
|
|
|
-if prakt_list[0] == "Практ. №7":
|
|
|
- n_zadach = 40
|
|
|
+# выбираем номер главы
|
|
|
+rand_glava = random.randint(1, 14)
|
|
|
|
|
|
+# номер задачи в практической работе
|
|
|
+n_zadach = random.randint(1, 40)
|
|
|
|
|
|
-print(f"Случайный студент: {rand_student}; выполняет {prakt_list[0]}, задача {random.randint(1, n_zadach)}")
|
|
|
-"""
|
|
|
- # Вводим оценку
|
|
|
- try:
|
|
|
- scores_list = journal_26_dict[rand_student]
|
|
|
- except:
|
|
|
- scores_list = []
|
|
|
- a = int(input("Введите оценку: "))
|
|
|
- scores_list.append(a)
|
|
|
- journal_26_dict[rand_student] = scores_list
|
|
|
-
|
|
|
- print()
|
|
|
- print("-----------------------------------")
|
|
|
- for student in journal_26_dict.keys():
|
|
|
- print(f"{student}: {journal_26_dict[student]}")
|
|
|
|
|
|
- print()
|
|
|
-"""
|
|
|
+print(f"Случайный студент: {rand_student} выполняет главу {rand_glava}, задача №{n_zadach}")
|