<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def extents(self):
 """ The length, width, and height of the bounding box of the mesh. Returns extents : (3,) float Array containing axis aligned [length, width, height] """

        extents = self.bounds.ptp(axis=0)
        extents.flags.writeable = False
        return extents