Advertisement
Guest User

Untitled

a guest
Jan 23rd, 2020
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.25 KB | None | 0 0
  1. class A:
  2.     def init(self, width, height, color):
  3.         self.width = width
  4.         self.height = height
  5.         self.color = color
  6.  
  7.    def str(self):
  8.        return 'witdh: {}, height: {}, color: {}'.format(self.width, self.height, self.color)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement