Unlike other programming languages, a Python class has only one constructor, If we want to give the user more flexibility when creating objects, we should make certain arguments optional. In this video we show how to do that, noting that we could also have done this when we first introduced functions.
- Tags
-