def insert_nth_char(string: str, n: int, char):
    """
    Insert `char` in `string` at zero-indexed position `n`.

    Example:
        >>> insert_nth_char(string='strng', n=3, char='I')
        'strIng'
    """
    return string [:n] + str(char) + string[n:]