0

I can't run my code

I think MySQL not supported please help me to find and give solution for given code it is my homework and don't have laptop https://sololearn.com/compiler-playground/cPmcVbqUo266/?ref=app

1st Jan 2024, 4:11 PM
Piyush Singh
Piyush Singh - avatar
2 Respuestas
+ 3
I know nothing about MySQL, and Python doesn't have mysql module at default. Furthermore the playground doesn't support MySQL too as I see. You need a device which has both MySQL and Python installed to test your code. If you don't have a laptop, try a desktop. If you don't have a PC but mobile only, search "MySQL Python (your device type)" on Google or other search engines you prefer to look for solution which let you run both programs on your device. If your intention is to run SQL commands using Python, try to refactor your code with the use of "sqlite3" module.
1st Jan 2024, 4:46 PM
Wong Hei Ming
Wong Hei Ming - avatar
+ 2
Made by my friend, Wong Hei Ming : https://sololearn.com/compiler-playground/cKqm1J8dX791/?ref=app You can play around with the SQLs.
1st Jan 2024, 4:24 PM
Annihilate
Annihilate - avatar