def str_append (s: str, c: str, i: int) -> str:
    """ appends a character to a string at an index. This method *returns a value*, it does not set the value automatically"""

    L = list (s)        
    L.insert (i, c)
    value = ""

    for a in L:
        value += str(a)

    return value