Mar-01-2022, 02:46 PM
(Mar-01-2022, 07:05 AM)klajdi7 Wrote: Do you have an idea how to fix the number 8 i've been trying multiple things and its still not working?Yes, since
Bücher
is aLibrary
class, you just need to initialize it that way. Try it like this and notice line 3.class Bücher(Library): def __init__(self): super ().__init__ () self.borrowBooks = [] def displayUnavailableBooks(self): print("Liste mit ausgeliehenen Bücher: ") for books1 in self.books1: print(" -" + books1 )