This question already has an answer here:
I like to give subscripts to my variable names when the variables are related. I.e.,
Subscript[r, i] = 3
A problem arises when I later assign
r to a value and want to use
r = 6
Is there any way for me to get the value I assigned to
Subscript[r,i]? Is this the wrong way to use Mathematica?