No problem. I took your code and cleaned it up a bit, check it out: https://code.sololearn.com/c33oM8z0BW5h/?ref=app
So what kind of error does it show?
What kind of exception does it raise? I can't check it as it fires off encoding issues for me at Sololearn. But here's my code on sqlite, I used similar commands to create and manage a database on-the-fly. You might check it out as it is definitely working here at SL: https://code.sololearn.com/csyhsIovmZJ3/?ref=app
Ops . now i got it . i was use method commit() with execute not connect thank you :)
your script is advanced . its my first day into database in general . i just want to know where is the wrong in my script . i copy it from book to learn it .
it doesn't print anything . i tried to list , tuple the result is empty . but same code in book show the tuple of data sorry. bad english