title: Using variables in sql code in python: Operation parameter must be a str
body: <p>My goal is, that a user can make an input (which number he wants to delete) and this number will be then deleted.</p>
  <p>As I try this, always the same error is appearing: Operation parameter must be a str</p>
  <pre><code>#Eintrag erstellen
  if eingabe == &quot;0&quot;:
  eingabe_neu = input(&quot;Bitte Nachname, Vorname, Telefonnummer nach diesem Format eingeben Musterfrau, Mona, 793202277: &quot;)
  sql = '''INSERT INTO adressen (nachname, vorname, telefonnummer)
  VALUES (?,?,?)''', [eingabe_neu]
  
  cursor.execute(sql, (eingabe_neu,))
  for dsatz in cursor:
      print(dsatz[0], dsatz[1], dsatz[2])
  print()
  </code></pre>
  <p><a href="https://i.stack.imgur.com/Yqcts.png" rel="nofollow noreferrer">error</a></p>
  <p>Does somebody know, how I can fix this error and how I have to use variables in the sql-code?</p>
  <p>Many thanks for help</p>