title: Printing the first value in an array instead of just the first letter? (Python)
body: <p>I have used Python to append data from an SQLite3 database to an array. Now that I have an array, I am trying to print the appended data in a format along the lines of:</p>
  
  <pre><code>print "Team: " + new_array[0][0] + " Score: " + new_array[0][1] + " Overall: " + new_array[0][2]
  </code></pre>
  
  <p>The code I have already would be okay for this. However, I am trying to create a loop using a counter that would print all of the data from the array in the above format.</p>
  
  <p>The problem is that when I try to create a for loop and print the first value in the array, only the first letter of the value is printed. For example:</p>
  
  <pre><code>    print new_array[0]
  </code></pre>
  
  <p>... would print:</p>
  
  <pre><code>    team_6
      team_3
      team_5
      team_1
      team_2
      team_4
  </code></pre>
  
  <p>... and...</p>
  
  <pre><code>    print new_array[0][0]
  </code></pre>
  
  <p>... would print:</p>
  
  <pre><code>    t
      t
      t
      t
      t
      t
  </code></pre>
  
  <p>This is what I have so far:
          import sqlite3</p>
  
  <pre><code>    new_array = []
  
      conn = sqlite3.connect('league.db')
      c = conn.cursor()
  
      game = c.execute("SELECT Team,Score,Overall FROM League ORDER BY Overall DESC")
      for items in game:
          new_array.append(items)
  
      print new_array[0][0]
  </code></pre>
  
  <p>The code above will print out 'team_6' as it should. However, the problem of printing 't's only occurs when I create a for loop.</p>
  
  <p>Your help would be greatly appreciated. Thanks.</p>