As asking a request to the database, connect two lines into one, ie:
db.execute("INSERT INTO portfolios (name, amount, taked_books) VALUES(:whotaked, :amount, :name + ' ' + :author)", name=name,author=author,amount=amount,whotaked=who_taked) Do you want the variable name and author to merge?
PS If you do this:
:name + ' ' + :author Then the value 0.0 is entered into the database.
db.execute("INSERT INTO portfolios (name, amount, taked_books) VALUES(:whotaked, :amount, :taked_books)", taked_books=name + ' ' + author, amount=amount, whotaked=who_taked)- ArchDemon 2:44 pm