Hello I was wondering if there was a way of calling a variable if I had it's name as a string. For example I have a list of names
variables=["a","b","c"]
a=2
b=3
c=4
I would like to call the variables using the strings stored in the list which storing their values in the list allowing me in essence to have a list of variables. e.g. d=a[0] I would like d to equal the value of the variable a not store the string value of a Is there a way to do this?