<reponame>HackBerkeley/beginner-hackjam<gh_stars>1-10
import sqlite3
conn = sqlite3.connect('cheeps.db')

c = conn.cursor()
c.execute("CREATE TABLE cheeps (name, datetime, cheep)")
c.execute("INSERT INTO cheeps VALUES ('richie', '100', 'Hello world!')")
c.execute("SELECT * FROM cheeps")
print(c.fetchall())
conn.commit()
conn.close()

import sqlite3
conn = sqlite3.connect('cheeps.db')

c = conn.cursor()
c.execute("CREATE TABLE cheeps (name, datetime, cheep)")
c.execute("INSERT INTO cheeps VALUES ('richie', '100', 'Hello world!')")
c.execute("SELECT * FROM cheeps")
print(c.fetchall())
conn.commit()
conn.close()