Answer to Question #20385 in Python for dannii

Question #20385
How do I write a class named Library in python
The class should have Property booklist, property studentList method to readBooksFromFile, method readStudentsFromFile method readStudentBookFromFile and method for each option in the menu
1
Expert's answer
2012-12-10T12:19:57-0500
class Library:

def__init__(self):
self.booklist= []
self.studentList= []

defreadBooksFromFile(self, filename):
#implemetation of function
return

defreadStudentsFromFile(self, filename):
#implemetation of function
return

defreadStudentBookFromFile(self, filename):
#implemetation of function
return

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS