Aug-09-2020, 04:25 PM
When I use the following code in python rather than giving me the table once it repeatedly prints it into the terminal rather than just printing once
Thanks
if choice == 1: cursor.execute("SELECT * FROM Names") # displays the table on separate lines for x in cursor.fetchall(): print(x) choice = int(input("Please select a choice from the list"))I'm not sure why I'm having this problem can anyone offer any advice?
Thanks