OOP Python | Sololearn: Learn to code for FREE!


OOP Python

Could you, please, help me with this code? It works, displays, but an address at memory or what is it <__main__.Library object at 0x000001EF3835A8D0>? But I need a book to display. https://code.sololearn.com/cfRZJEXxoov8/?ref=app

10/11/2017 6:59:06 AM


5 Answers

New Answer


Thanks @johan, I'll try


Please, what is it possible to be, huh :/


It works, thanks, but when I type non-author name, it still displays first title


I think you need to acces the information inside the class with the . operator like this: print(drama.title)


do you still need the solution?