Mutations

  • + 0 comments

    def mutate_string(string, position, character): C=list(s) C[position] = character

        return ''.join(C)