Mutations

  • + 0 comments

    Python Code:

    def mutate_string(string, position, character):

    return (string[:position] + character + string[position + 1:])