title: Create SQLite Table With Variable
body: <p>I want to create three tables <code>fremdgehen.com</code>, <code>molligundwillig.de</code> and <code>reifer6.de</code>.</p>
  <p>But I am not able to transfer each element to <code>CREATE TABLE</code>. Why?</p>
  <pre><code>import sqlite3
  
  con = sqlite3.connect('emails.db')
  cur = con.cursor()
  
  pages = ['fremdgehen.com', 'molligundwillig.de', 'reifer6.de']
  
  for i in pages:
      try:
          sql_command = f'''
          CREATE TABLE {i} (
              email INTEGER,
              password VARCHAR,
              PRIMARY KEY (id));
          cur.executescript(sql_command)
          con.commit()
          '''
      except:
          pass
  
  con.close()
  </code></pre>