sqlite3.OperationalError: near "example": syntax error in Python SQLite3

Question:
I was experimenting with SQLite3 and set up the connection for a database. When I ran the program to try to write to the database, I got this error:

I ignored the choices I selected and instead used the phrase ‘teststring’ to test the DB.
code snippet

import sqlite3 as db
connect = db.connect("relate.db")
def survey() :
  print("""
  Select an option:
  [1] Test
  [2] Foobar
  [3] MERT
  \n
  """)
  dns = input("")
  connect.execute(dns)
  connect.close()
survey()

LINK: https://replit.com/@Doomsdaybear/Find-Users-Like-You?v=1
I appreciate any help!