title: Having a limit in sqlite3 with one or two digits python
body: <p>The problem is that when the input(the limit) is a two digit number it gives an error. "Incorrect number of bindings supplied. The current statement uses 1, and there are 2 supplied." I have tried to make it an integer but then SQLite3 requires string. If I define a constant it still doesn't work. But if it is a one digit number it works.</p>
  
  <pre><code>limit = input("Enter the number of scores you want to see: ")
  self.cursor.execute('SELECT Name, Gender, Age, Score, Date, Time FROM Link JOIN Scores ON  Score_ID = Scores.ID JOIN Player ON Player_ID = Player.id ORDER BY Score DESC LIMIT ?', (limit))
  </code></pre>