<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def line(self, lines):

 """Creates a POLYLINE shape.
 Lines is a collection of lines, each made up of a list of xy values."""

        shapeType = POLYLINE
        self._shapeparts(parts=lines, shapeType=shapeType)