def print_departments(departments):
    """
    Prints the department courses in a prettier format.

    Parameters:
    -----------
    departments (dict): Departments (str key) and courses in departments (list value)


    returns (NoneType): None
    """

    for department, courses in departments.items():
        print(department + ": [" + ', '.join(courses) + "]")

    return None