How to create a new variable from the contents of another variable in python?
<p>May it's very simple question, but I'm stuck here.
I have variable val as <code>val="mandy"</code>, now i want to create a list whose name is the content of val. i.e. "mandy". so how to define <code>mandy=[]</code> in python.
It's like "$$" equivalent of PHP.</p>
