This is the lesson number 15 of the lesson series on Object Oriented Programming (OOP) in Python. It will be a complete course with the aim is to cover almost everything needed in Object Oriented Programming.
In this lesson we will see concept of Multiple Classes and will create link between attributes of the classes.
Why should not we set the default value of an input argument as empty list:
https://stackoverflow.com/questions/1...
Link to complete playlist:
• Object-Oriented Programming in Python
Lesson Code:
https://github.com/MAN1986/OOP-in-Pyt...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Review Questions of the Lesson
1- Describe in simple words why should not we set the default value of an input argument as Empty List
2- How can we make the list of books for an author be in order of publication year such that whenever a book is created and is added into the books list of author(s), the list must be in descending order of publication year.
#OOP #ObjectOrientedProgramming #Python