Commit Graph
2 Commits
Author SHA1 Message Date
Jarle Thorsen 92d7dc0f93 Update ex6_2.md to fix variable mismatch
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 within the method.
2023-10-30 14:30:21 +01:00
Jarle Thorsen 1d20aaeca8 Update ex5_6.md to fix NameError in example code
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.
2023-10-23 12:27:05 +02:00