title: Use an input as a variable in python
body: <p>I want to know how can i convert (probably) the user input equiv to variable to replace it</p>
  
  <p>i expect when I input <code>slice1</code>  it will <code>print a1 a2 a3</code> but i found <code>s l i c e 1</code>
  how can i fix it</p>
  
  <p>This is code is an  exemple</p>
  
  <pre><code>List = [['a1', 'a2', 'a3'], ['b1', 'b2', 'b3']]
  slice1 = List[0]
  slice2 = List[1]
  temp = input("slice number")
  for item in temp:
      print(i)`
  </code></pre>