title: Python - getting values from 2d arrays
body: <p>I have a 2d array:</p>
  
  <pre><code>[[], ['shotgun', 'weapon'], ['pistol', 'weapon'], ['cheesecake', 'food'], []]
  </code></pre>
  
  <p>How do I call a value from it? For example I want to <code>print (name + " " + type)</code> and get</p>
  
  <blockquote>
    <p>shotgun weapon</p>
  </blockquote>
  
  <p>I can't find a way to do so. Somehow <code>print list[2][1]</code> outputs nothing, not even errors.</p>