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