use this code to implement using colab / jupyter notebook else use 2nd code to implement it on ubuntu terminal cursor.execute("INSERT INTO my_table VALUES (1, 'John', 25)") cursor.execute("INSERT INTO ...