class Assets:
def __init__(self):
conn = sqlite3.connect('FastFood.db')
c = conn.cursor()
self.Cash = input('Do you want to enter Cash:')
self.Equipment = input('Do you want to enter Eqiupment:')
self.Supplies = input('Do you want to enter Supplies:')
self.PrepaidInsurance = input('Do you want to enter Prepaid Insurance:')
self.ARecievale = input('Do you want to enter Accounts Recievable :')
query = c.execute('INSERT INTO Financial_Table (Account_Title)VALUES', (self.Cash))
result = conn.execute(query)
conn.close()
'''我正试图将条目插入一列中,但它给出了语法错误。''' '''我们共有4栏'''