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