0
0 комментариев
def row():
    conn = sqlite3.connect('Recipes.sqlite')
    c = conn.cursor()
    c.execute('SELECT * FROM Car WHERE Car_ID = 1')
    row = c.fetchone()
 
    c.close()
    conn.close()
 
    a = []
    a.append(row[2])
    a.append(row[3])
 
    return a
 
 
print("Значения 1:" + row().row[2] + "Значения 2:" + row().row[3]) --- ???


Добавить комментарий