03-loop.md: fix 'Computing the Value of a Polynomial' exercise (#757)
The Output block in this exercise contains two assignments to the variable `y`, which neither looks like an Output nor does it follow from the preceding Python block when run. I believe the first assignment to `y` was intended to be part of the Python block, and I also believe the intent was to print the value of `y`, which is 97, instead of assigning 97 to it in the Output block. This commit does the following: - moves the first `y` assignment from the Output block into the Python block - adds a `print(y)` statement to the end of the Python block - removes the assignment from the `y = 97` line, so that the Output block matches the output of the edited Python block when it is run.
Showing
Please register or sign in to comment