This is not a code error.
Please navigate to where you have the python file running/saved in the DB browser. File -> Open Database and select the test.sqlite
file. You will then see something like this:
Code used:
import sqlite3
conn = sqlite3.connect("test.sqlite")
c = conn.cursor()
c.execute('''CREATE TABLE students
(rollno real, name text, class real)''')
conn.commit()
#close the connection
conn.close()
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…