title: SQLite Database query returns wrong results
body: <pre><code>import sqlite3
  
  username=input(print("Username?"))
  password=input(print("Password?"))
  
  connection= sqlite3.connect("Logininfo.db")
  c = connection.cursor()
  
  IDuser=c.execute('SELECT Username, Password FROM LoginInfo WHERE Username= ?  AND Password= ?', (username,password)).fetchone()
  
  print(IDuser)
  </code></pre>
  
  <p>The data that should be returned from this code is "Hello1" and "Password1" (Without the quotemarks). Instead it outputs "('Hello1', 'Password1')". </p>
  
  <p>A few questions, why does it do this?</p>
  
  <p>How can I retrieve this data without the brackets and quotemarks i.e "('Hello1',"   would become "Hello1"</p>
  
  <p>The code also prints out "None" before asking for both the username and password why does it do this and how can I fix it?</p>