Skip to content

Commit 975bbb2

Browse files
authored
01-intro.md: rephrase the "Check Your Understanding" question (#861)
1 parent 5bfcc34 commit 975bbb2

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

_episodes/01-intro.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff 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}

0 commit comments

Comments
 (0)