def del_char_idx(inline, idx):
    """
    Del char at the position given by the index idx.

    Args:
        inline(str): Input string.
        idx(int): An index position.
    """
    return inline[:idx] + inline[idx+1:]