We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b393891 commit 1c08fe0Copy full SHA for 1c08fe0
python-break/for_loop_test_scores_example.py
@@ -4,12 +4,12 @@
4
5
num_failed_scores = 0
6
failed_score = 60
7
-needs_tutoring = False
+needs_tutoring = "No"
8
for score in scores:
9
if score < failed_score:
10
num_failed_scores += 1
11
if num_failed_scores >= 2:
12
- needs_tutoring = True
+ needs_tutoring = "Yes"
13
break
14
15
-print("Does the student need tutoring? " + str(needs_tutoring))
+print(f"Does the student need tutoring? {needs_tutoring}")
0 commit comments