Mutations

  • + 0 comments

    def mutate_string(string, position, character): string = ",".join(string) li = string.split(",") for i in range(len(li)): if i == position: li[i]=character st = "".join(li) return st