Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class A:
- def init(self, width, height, color):
- self.width = width
- self.height = height
- self.color = color
- def str(self):
- return 'witdh: {}, height: {}, color: {}'.format(self.width, self.height, self.color)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement