<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def centroid(self):
 """ Return the centroid of the rectangle. """

        left, bottom, right, top = self.lbrt()
        return (right + left) / 2.0, (top + bottom) / 2.0