<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def shape_list(l,shape,dtype):
 """ Shape a list of lists into the appropriate shape and data type """

    return np.array(l, dtype=dtype).reshape(shape)