String replace based on index python July 8, 2019 16 32 64 128 String replace on index python Replace character in string based on index python How to replace text in python