<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get_bezier(steps, points):
 """Gets a series of bezier curve points with any number of sets of 4 control points."""

    res = []
    num_pts = len(points)
    for i in range(0, num_pts + 1, 3):
        if i + 4 < num_pts + 1:
            res.extend(list(get_4pt_bezier(steps, points[i:i + 4])))
    return res