You are viewing a single comment's thread. Return to all comments →
def mutate_string(string, position, character): list=[] for i in string: list.append(i) list[position]=character string="".join(list) return string
Seems like cookies are disabled on this browser, please enable them to open this website
Mutations
You are viewing a single comment's thread. Return to all comments →
def mutate_string(string, position, character): list=[] for i in string: list.append(i) list[position]=character string="".join(list) return string