You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: pretext/functions/funcWithStrsAndConds.ptx
+6-6Lines changed: 6 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -132,29 +132,29 @@ main()
132
132
<p>You do not declare the type of a variable in Python. Python requires that all statements that are part of the body of a function must be indented. Use four spaces to indent.</p>
133
133
</note>
134
134
135
-
<exerciselabel="fsc_fitb_print_test_value_b">
135
+
<exerciselabel="fsc_fitb_value_b">
136
136
<statement>
137
-
<p>What is the value of <c>b</c> when function <c>test</c> starts executing?</p>
137
+
<p>What is the value of <c>b</c> when function <c>test</c> starts executing? <var/> </p>
138
138
</statement>
139
139
<setup>
140
140
<var>
141
141
<conditionnumber="2">
142
142
<feedback>
143
-
<p>Since the value of <c>b</c> was not specified it defaults to 2 (it was set to 2 as a default in the function definition)</p>
143
+
<p>Since the value of b was not specified it defaults to 2 (it was set to 2 as a default in the function definition)</p>
144
144
</feedback>
145
145
</condition>
146
146
<conditionstring=".*">
147
147
<feedback>
148
-
<p>What is the default value specified for <c>b</c> in the function definition?</p>
148
+
<p>What is the default value specified for b in the function definition?</p>
149
149
</feedback>
150
150
</condition>
151
151
</var>
152
152
</setup>
153
153
</exercise>
154
-
<p>Delete the last line of the test function above and run the code again.</p>
154
+
155
155
<exerciselabel="fsc_fitb_return_None">
156
156
<statement>
157
-
<p>What value is returned from a function that doesn't have a <c>return</c> keyword? <var/> </p>
157
+
<p>Delete the last line of the function <c>test</c> above and run the code again. What value is returned from a function that doesn't have a <c>return</c> keyword? <var/> </p>
0 commit comments