May-10-2023, 11:33 AM
I have found the solution
result = cur.fetchall() count = 0 # Print the results for row in result: count += 1 print(count, row[1], 'by', row[2], '-', row[3])