def num_dots_to_path_expr_list(num_dots: int) -> list[str]:
    """Get the list of path expr associated with the number of dots given

    Some environments allow you to express path-like object using more than two
    dots "..". The additional dots are used to express additional backward movements.
    For example: "..." mean "../.." and "....." means "../../../..".

    Parameters
    ----------
    num_dots : int
        Number of dots in the path expression

    Returns
    -------
    path_expr_list : list[str]
        List containing (num_dots - 1) times the ".." string

    """

    return [".." for _ in range(num_dots - 1)]