def parse_assignment_list(assignments):
    """
    Parse all assignments of a course from a statement received from Moodle.

    :param assignments: A statement containing all assignments of a course.
    :type assignments: dict(str, list(dict(str, int)))
    :return: A dictionary of all assignments of a course.
    :rtype: list(dict(str, int))
    """
    temp_assign = assignments['courses'][0]['assignments']
    return temp_assign