title: array in php and dict in python are the same?
body: <p>I have a project using python and i want to convert the php to python. I have confused in the array of php in converting it to python...</p>
  
  <p>in the old code of the php... it looks like this,</p>
  
  <pre><code>array(
        "Code"          =&gt; 122,
        "Reference"     =&gt; 1311,
        "Type"          =&gt; 'NT',
        "Amount"        =&gt; 100.00
  );
  </code></pre>
  
  <p>and this is what i did in converting it to python ...</p>
  
  <pre><code>dict = {
            "Code":122,
            "Reference":1311,
            "Type":'NT',
            "Amount":100.00
  }
  </code></pre>
  
  <p>is my converting php to python is correct?</p>