Errata for Learn to Code in 30 Days
While we strive for perfection in our writing and editing, mistakes do happen. Here are the known errors in Learn to Code in 30 Days:
- Page 23: a “<” (less-than) character is missing from the table on the sign(x) row. The correct description is: “sign of x: -1 if x < 0; 0 if x == 0; 1 if x > 0”.
- Page 67: “the all” on line number 10 of the code listing should be “all the”.
- Page 136: Line 1 of the code listing at the bottom of the page should read:
cookies.sort "radius"
- Page 267: in the table at the top, “snd” should be “spr”.
Errata for the MiniScript Bookmark
Copies of Learn to Code in 30 Days sold online include a bookmark with a sample program. The line that inputs a number should read:
x = input("Your guess?").val
so that
x is input as a number, not a string.
MiniScript Home Page
•
MiniScript Books
•
MiniScript Press