<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_sub_dirs(parent):
 """Returns a list of the child directories of the given parent directory"""

    return [child for child in os.listdir(parent) if os.path.isdir(os.path.join(parent, child))]