We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The stocks list needs to be fixed to pass the price first. That's because it is extends the abstract class, which has the price field. The fix is:
stocks = [ Stock(342.0, "MSFT", "Microsoft Corp"), Stock(135.0, "GOOG", "Google Inc"), Stock(275.0, "META", "Meta Platforms Inc"), Stock(120.0, "AMZN", "Amazon Inc") ]
See:
python-object-oriented-programming-4413110/Start/Ch 4/challenge.py
Lines 21 to 24 in 7ff2416
https://github.com/LinkedInLearning/python-object-oriented-programming-4413110/blob/7ff2416cc66500026ecfb3221c67fabf10386a41/Finished/Ch%204/challenge.py#L36C1-L39C39
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The stocks list needs to be fixed to pass the price first. That's because it is extends the abstract class, which has the price field. The fix is:
See:
python-object-oriented-programming-4413110/Start/Ch 4/challenge.py
Lines 21 to 24 in 7ff2416
https://github.com/LinkedInLearning/python-object-oriented-programming-4413110/blob/7ff2416cc66500026ecfb3221c67fabf10386a41/Finished/Ch%204/challenge.py#L36C1-L39C39
The text was updated successfully, but these errors were encountered: