Say I have a variable named variable
and make it equal to a string that I would like to print out. Now, let’s say I only have a string version of the variable name. How could I print what the variable is? Here’s what I mean:
variable = "Hello!"
string = "variable"
How could I make it print "Hello" from the string?