title: How to delete a record from table?
body: <p>I have a problem with deleting a record from my SQLite3 database:</p>
  
  <pre><code>conn = sqlite3.connect('databaza.db')
  c = conn.cursor()
  data3 = str(input('Please enter name: '))
  mydata = c.execute('DELETE FROM Zoznam WHERE Name=?', (data3,))
  conn.commit()
  c.close
  </code></pre>
  
  <p>Everything is OK, no errors, but the delete function doesn't work!</p>
  
  <p>Does anyone have an idea?</p>