<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_element_type(_list, dimens):
 """ Given the dimensions of a nested list and the list, returns the type of the elements in the inner list. """

    elem = _list
    for _ in range(len(dimens)):
        elem = elem[0]
    return type(elem)