Skip to content

Commit 8d58950

Browse files
authored
Update for_loop_test_scores_example.py
1 parent 4369b21 commit 8d58950

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

how-to-exit-loops-early-with-python-break-keyword/for_loop_test_scores_example.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,4 @@
55
for score in scores:
66
if score < failed_score:
77
num_failed_scores += 1
8-
9-
print(f"Number of failed tests: {num_failed_scores}")
8+
print(f"Number of failed tests: {num_failed_scores}")

0 commit comments

Comments
 (0)