I´m really struggling with classes and objects in Python and i would like someone to explain me the following code:
def buy_artwork(self, artwork):
if artwork.owner != self:
Because this is a method for the Client Class but uses artwork.owner and owner is from the Art class. If they are from different classes and theres was no inheritance, how this is going to associate the name of the art with the owner.
Thanks for your help