File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -181,21 +181,23 @@ weight in kilograms is now: 65.0
181181
182182> ## Check Your Understanding
183183>
184- > What values do the variables `mass` and `age` have after each statement in the following program?
185- > Test your answers by executing the commands .
184+ > What values do the variables `mass` and `age` have after each of the following statements?
185+ > Test your answer by executing the lines .
186186>
187187> ~~~
188188> mass = 47.5
189189> age = 122
190190> mass = mass * 2.0
191191> age = age - 20
192- > print(mass, age)
193192> ~~~
194193> {: .language-python}
195194>
196195> > ## Solution
197196> > ~~~
198- > > 95.0 102
197+ > > `mass` holds a value of 47.5, `age` does not exist
198+ > > `mass` still holds a value of 47.5, `age` holds a value of 122
199+ > > `mass` now has a value of 95.0, `age`'s value is still 122
200+ > > `mass` still has a value of 95.0, `age` now holds 102
199201> > ~~~
200202> > {: .output}
201203> {: .solution}
You can’t perform that action at this time.
0 commit comments