I need to create a list named after a string. So for example I got the string x = 'whatever'
. if I do
x = []
then the list will be named x
, not whatever
. Is there a way to do this?
I need to create a list named after a string. So for example I got the string x = 'whatever'
. if I do
x = []
then the list will be named x
, not whatever
. Is there a way to do this?