Skip to content

Commit 495d3da

Browse files
committed
Update funcWithStrsAndConds.ptx
1 parent d38764a commit 495d3da

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

pretext/functions/funcWithStrsAndConds.ptx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -132,29 +132,29 @@ main()
132132
<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>
133133
</note>
134134

135-
<exercise label="fsc_fitb_print_test_value_b">
135+
<exercise label="fsc_fitb_value_b">
136136
<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>
138138
</statement>
139139
<setup>
140140
<var>
141141
<condition number="2">
142142
<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>
144144
</feedback>
145145
</condition>
146146
<condition string=".*">
147147
<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>
149149
</feedback>
150150
</condition>
151151
</var>
152152
</setup>
153153
</exercise>
154-
<p>Delete the last line of the test function above and run the code again.</p>
154+
155155
<exercise label="fsc_fitb_return_None">
156156
<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>
158158
</statement>
159159
<setup>
160160
<var>

0 commit comments

Comments
 (0)