Something went wrong
An error occurred, please try again later.
Copy for customer care: session ID undefined
Copy URL
Lesson 20.9 Optional Arguments
From Hannah Lee October 27, 2020
95 plays
95
Related Media
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
- Appears In
Link to Media Page
Loading
Loading…