Mutations

  • + 0 comments

    Another Solution

    def mutate_string(s, i, c):
            s_list = list(s)
            s_list[i] = c
            return "".join(s_list)