Skip to main content

Posts

Showing posts with the label Mutations Hackerrank Solution Python

Mutations Hackerrank Solution Python

Mutations Hackerrank Solution Python  For Explanation Watch Video:: def  mutate_string(string, position, character):      return string[:position] + character + string[position+1:]  if  __name__ ==  '__main__' :     s =  input ()     i, c =  input ().split()     s_new = mutate_string(s,  int (i), c)      print (s_new)