<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def discrete(self, vertices, scale=1.0, count=None):
 """ Discretize the Bezier curve. Parameters vertices : (n, 2) or (n, 3) float Points in space scale : float Scale of overall drawings (for precision) count : int Number of segments to return Returns discrete : (m, 2) or (m, 3) float Curve as line segments """

        discrete = discretize_bezier(vertices[self.points],
                                     count=count,
                                     scale=scale)
        return self._orient(discrete)