errata update
This commit is contained in:
@@ -10,3 +10,49 @@ def greet2(name):
|
|||||||
print "ok bye!"
|
print "ok bye!"
|
||||||
`def bye()` should be aligned with `def greet2(name)` not nested?
|
`def bye()` should be aligned with `def greet2(name)` not nested?
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Chapter 8 (Code):
|
||||||
|
|
||||||
|
best_station = None
|
||||||
|
states_covered = set()
|
||||||
|
for station, states_for_station in stations.items():
|
||||||
|
|
||||||
|
final loop has:
|
||||||
|
|
||||||
|
best_station = None
|
||||||
|
states_covered = set()
|
||||||
|
|
||||||
|
for station, states in stations.items():
|
||||||
|
|
||||||
|
should be states for both?
|
||||||
|
|
||||||
|
~
|
||||||
|
|
||||||
|
Chapter 8 (final algorithm):
|
||||||
|
|
||||||
|
Can't seem to get Jupyter Notebook, Kernel: Python 2.7 to run the while loop? Times out?
|
||||||
|
|
||||||
|
Might just be me? Or one of my typos?
|
||||||
|
|
||||||
|
~
|
||||||
|
|
||||||
|
Chapter 9 (Image/Example):
|
||||||
|
|
||||||
|
Knapsack items are 4lbs, 3lbs, 1lbs.
|
||||||
|
Chapter 8 items are 30lbs, 20lbs, 15lbs.
|
||||||
|
|
||||||
|
Values should be the same?
|
||||||
|
|
||||||
|
~
|
||||||
|
|
||||||
|
Suggestion:
|
||||||
|
|
||||||
|
Make the difference between pseudo-code, intermediate code, and executable code more explicit?
|
||||||
|
|
||||||
|
~
|
||||||
|
|
||||||
|
Suggestion:
|
||||||
|
|
||||||
|
Full executable python algorithms for Chapter 9 and 10? Given the awesome pace of the early chapters I was disappointed that there wasn't any executable code in 9 and 10 :(
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user