+ 13
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
5 Answers
+ 14
Thanks @johan, I'll try
+ 12
Please, what is it possible to be, huh :/
+ 12
It works, thanks, but when I type non-author name, it still displays first title
+ 5
I think you need to acces the information inside the class with the . operator like this: print(drama.title)
+ 1
do you still need the solution?