Python Replace String At Index