def remove_kth_element(list_a: list, index: int):
    """Problem 20: Remove K'th element from list.

    Parameters
    ----------
    list_a : list
        The input list
    index : int
        The element number to remove from the list

    Returns
    -------
    list
        The input list without the removed element

    Raises
    ------
    TypeError
        If the given argument is not of `list` type
    ValueError
        If the given `k` is not valid.

    """
    if not isinstance(list_a, list):
        raise TypeError('The argument given is not of `list` type.')
    if index < 0 or len(list_a) < index:
        raise ValueError('The argument `k` is not valid.')

    list_a.pop(index - 1)
    return list_a