Chapter08 python file - reporthook function code fix to prevent div by 0 error#123
Chapter08 python file - reporthook function code fix to prevent div by 0 error#123teamiceberg wants to merge 7 commits intorasbt:masterfrom
Conversation
|
Check out this pull request on You'll be able to see Jupyter notebook diff and discuss changes. Powered by ReviewNB. |
|
Hello @teamiceberg! Thanks for opening this PR. We checked the lines you've touched for PEP 8 issues, and found:
|
Dear author:
The function fails due to div by zero error as duration = 0 initially. I did a simple code change to accommodate this bug. If you find it useful, please merge change.
Also, ignore all my other annotations change. That is for my own learning purposes.
Thank you.