Https://www.codecademy.com/paths/computer-science/tracks/cspath-python-objects/modules/cspath-python-classes/lessons/inheritance-and-polymorphism/exercises/exceptions

https://www.codecademy.com/paths/computer-science/tracks/cspath-python-objects/modules/cspath-python-classes/lessons/inheritance-and-polymorphism/exercises/exceptions

I am currently stuck in this Exception part. The example in lesson kind of not helpful for the task asked me to do.
I don’t know why we need to include exception as a parameter of OutOfStock at the first part and why we need to define the class OutOfStock before the candy shop??
I really lost in the example and don’t really know what lesson and example does.
I feel stress as the lessons and example and tasks are not really explain well.

This topic was automatically closed 41 days after the last reply. New replies are no longer allowed.