How To Access String Index In Python Defined Variables