There is a table named filmler in the database. I want to draw a random line from this table and print it on the screen.
import sqlite3 con = sqlite3.connect("filmler.db") cursor= con.cursor() def veri_cek(): cursor.execute("select * from filmler order by RANDOM() LIMIT 1") veri_cek=cursor.fetchall() print(veri_cek) con.close()
" " comes out when I write this code
where did i go wrong can you help me?