How to make name be a variable in python? : <p>How should I do if I want to output "name[0] = 6" instead of "t"?</p>

<p><a href="https://i.stack.imgur.com/ctCBQ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ctCBQ.png" alt="enter image description here"></a></p>
