12
Last seen 6 years ago
Member for 9 years, 5 months, 14 days
Difficulty Normal
def __repr__(self):
txt = 'Building({0.south}, {0.west}, {0.width}, {0.depth}, {0.height})'
return txt.format(self)
Can you explain me what do you did? i never saw this. Thanks
PS: i am newbie
More
i do the same, but its better if we use haslib.new() or use getattr()
+1
More