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
In chapter 0, the code block shortly before example 0.2, the minus signs are entered as en-dashes. This doesn't affect the printed version (unless you look very carefully), but copying/pasting the code block from the web site doesn't work correctly. Please change the three en-dashes to minus signs.
step() {
let xstep = random(–1, 1);
let ystep = random(–1, 1);
Any floating-point number from –1 to 1
this.x += xstep;
this.y += ystep;
}
The text was updated successfully, but these errors were encountered:
In chapter 0, the code block shortly before example 0.2, the minus signs are entered as en-dashes. This doesn't affect the printed version (unless you look very carefully), but copying/pasting the code block from the web site doesn't work correctly. Please change the three en-dashes to minus signs.
The text was updated successfully, but these errors were encountered: