Add extra prompt when inputting student names

This commit is contained in:
2020-01-20 10:36:01 +00:00
parent 23ef2bc369
commit 2008c83238

View File

@@ -32,7 +32,7 @@ def getMark(test_number, student_index, max_mark):
# do this for all students
for i in range(number_of_students):
# retrieve and store student's name
student_names.append(input("Name: "))
student_names.append(input("Student %d name: " % (i + 1)))
# do this for all students
for i in range(number_of_students):