64 - Exercise 6

🧢 Tags:: #Python_Basics
Up:: 65 - Static Methods
Down:: 63 Exercise 5 - Solution
πŸ—ƒ Resources:: Playlist
2024-02-15 - 18:31

Write a Library class with no_of_books and books as two instance variables. Write a program to create a library from this Library class and show how you can print all books, add a book and get the number of books using different methods. Show that your program doesnt persist the books after the program is stopped!