I'm not sure if this is the right place to report typos in a book which can confuse someone new to programming/cause her to doubt her understanding. If not, please let me know.
So the problem occurs on line 8 of the CodeLens example. The argument is misleading as the value printed is the time, not the speed. The argument should be "Time for the ketchup to move 4 feet (in minutes)."
I'm not sure if this is the right place to report typos in a book which can confuse someone new to programming/cause her to doubt her understanding. If not, please let me know.
So the problem occurs on line 8 of the CodeLens example. The argument is misleading as the value printed is the time, not the speed. The argument should be "Time for the ketchup to move 4 feet (in minutes)."