Closed kirisakow closed 1 month ago
Thank you for the report. @kirisakow I can't reproduce the behavior where it counts down to -1. Do you have a full example of the code that exhibits this behavior? I'm sorry for the extremely long delay in getting back to you!
Hello Brett, although I've kept the Jupyter notebook with the code examples from your book, however, as of today, I can't reproduce the abnormal behavior. I can't tell why... Perhaps, in the meantime something has been fixed in the underlying Jupyter modules.
👍 thank you so much for checking! Okay I'm going to close this one, but please feel free to reopen if you ever see it again. I really appreciate all of your feedback!
(2nd ed)
Expected result
Program should stop at
0
:Actual result
Program runs on, down to
-1
:Fix
Add an additional conditional
break
statement at the end of therun()
function on both pages 136 and 137: