Replace String By Index Python Examples