inserting a charcater in a pyhtong string at a specific index

36

a_string = a_string[:1] + "b" + a_string[1:]

Comments

Submit
0 Comments