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!