def the_row(row, width=3, height=3):
    """Return all coordinates of the fields of the given row number.

    Args:
        row (int): The number of the row.
        width (int): The width of the sudoku.
        height (int): The height of the sudoku.

    Returns:
        list: The coordinates of the row with the given number.

    Raises:
        ValueError: If the row number is invalid.

    Example::
        >>> the_row(1, width=3, height=3)
        [(1, 0), (1, 1), (1, 2), (1, 3), (1, 4), (1, 5), (1, 6), (1, 7), (1, 8)]
    """
    if not 0 <= row < width * height:
        raise ValueError(
            "row must be less equal 0 and less than %d" % width * height)

    return [(row, c) for c in range(width * height)]