Can I print a list by knowing its string name? Here's a code example:
x=[1,2,3]
y="x"
The output that I want is:
[1,2,3]
Not by print(x), but I want to convert "x" to list that already exist x.
Can I print a list by knowing its string name? Here's a code example:
x=[1,2,3]
y="x"
The output that I want is:
[1,2,3]
Not by print(x), but I want to convert "x" to list that already exist x.
 
    
    