title: How to get the Variable name dynamically in below example
body: <p>I am new to the python. Please excuse me if explanation is not upto the mark.Below piece of code will return n.left =0 , n.right =1  and n.centre =1</p>
  
  <pre><code>from argparse import Namespace
  n = Namespace(**cust_dic)
  n
  Namespace(left='0', right='1', centre='1')
  </code></pre>
  
  <p>I am trying to create the variable's name as below :</p>
  
  <pre><code> eg : left = n.left
        right = n.right
        centre = n.centre
  </code></pre>
  
  <p>How we can create variable name as key name of the dictionary dynamically ?</p>