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”.
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