python-mastery
python-mastery copied to clipboard
Advanced Python Mastery (course by @dabeaz)
Thanks for the course, just a little typo!
Instead of ``` for r in rows: ``` it should be ``` for r in range(rows): ```
The sell() method takes the nshares argument, however inside the method the variable shares is used instead. This patch changes the name of the argument according to the variable used...
fixed a typo
Calling Stock() directly without providing the name of the module will result in the following error: NameError: name 'Stock' is not defined This fixes the bug in the example code.
From Exercise 7.1 (b): > Note: This part doesn't involve a lot of code, but there are a lot of low-level fiddly bits. The solution will look almost the same...
Fixed a typo: 6.6 -> 6.5 https://github.com/dabeaz-course/python-mastery/issues/49
Thank you for the awesome lecture. While solving (e) of Exercise 2.5, I thought it would be nice to add a solution. This pull request is similar to #37, and...