Skip to content

Instantly share code, notes, and snippets.

View lsabiao's full-sized avatar
💭
Developing new bugs.

Lucas Sabião lsabiao

💭
Developing new bugs.
View GitHub Profile
# -*- coding: utf-8 -*-
import sqlite3
from alimentos import *
connection = sqlite3.connect('bancoalimentos.db')
c = connection.cursor()
def create_table():
c.execute('CREATE TABLE IF NOT EXISTS alimentos (id integer, alimentos text, \
valor real)')