title: Python - Can only concatenate list not float to list
body: <p>I understand that I can only concatenate things of similar types, but I'm really confused as to why the following are of different types.</p>
  
  <pre><code>n = 100
  table = [[0]*n for x in range(n)]
  array1 = [[0] for i in range(n)]
  mini = array1[1] + table[1][1]
  </code></pre>
  
  <p>I am trying to make mini store the integer that is the result of array1[1] and a table[1][1]'s value. But I get this error:</p>
  
  <pre><code>TypeError: can only concatenate list (not "float") to list
  </code></pre>
  
  <p>There must be something simple I'm missing. When I print just table[1][1] I get 0, so why is table[1][1] not treated as just 0 (I.e. 0 + 0)?</p>