I have a variable, that we'll call x
, which stores the string test
I have another variable, that we'll call y
, which stores the string value x
Is there any way that I could print(y)
, in order to return test
In other words, how can I print
the value of y
which itself stores the name of the variable x
?
I should also mention that I cannot just print(x)
, because x changes, (as does its string value).