<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def set_size(self, w, h):
 """ Sets the rectangle size. Args: w (int):
 width of the rectangle h (int):
 height of the rectangle """

        self.attributes['width'] = str(w)
        self.attributes['height'] = str(h)