code: def set_size(self, w, h):
          
          self.attributes['width'] = str(w)
          self.attributes['height'] = str(h)
docs: Sets the rectangle size.
  
          Args:
              w (int): width of the rectangle
              h (int): height of the rectangle