How To Use String Index In Python For Loop