Skip to content

Commit f62583d

Browse files
authored
Update nested_loop_number_of_failed_students_example.py
Created a more meaningful variable name
1 parent d5ad229 commit f62583d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

python-break/nested_loop_number_of_failed_students_example.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33

44
failed_score = 60
55
num_failed_students = 0
6-
for score_set in scores:
7-
for score in score_set:
6+
for student_score_list in scores:
7+
for score in student_score_list:
88
if score < failed_score:
99
num_failed_students += 1
1010
break

0 commit comments

Comments
 (0)