Why is my code not running | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
+ 4

Why is my code not running

I wrote a long code and when I pressed run it says syntax error although I wrote it from my python book . Why isn't it working

14th Apr 2024, 11:23 AM
All about gaming
All about gaming - avatar
4 Réponses
+ 10
All about gaming learning how to debug is as important as learning how to program. If the error message says there is a syntax error, then you can be certain that there is a syntax error. The message likely includes a line number. Often the real error is on a line above where there is a missing closing parenthesis. Until you post a link to reveal the code that is about all we can say to help you.
14th Apr 2024, 1:24 PM
Brian
Brian - avatar
+ 6
Would you mind showing us your code?
14th Apr 2024, 11:27 AM
‚ó¶‚ÄĘ‚óŹ‚óČ‚úŅūĚēÄ‚ĄēūĚĒĽūĚēÄ‚úŅ‚óČ‚óŹ‚ÄĘ‚ó¶
‚ó¶‚ÄĘ‚óŹ‚óČ‚úŅūĚēÄ‚ĄēūĚĒĽūĚēÄ‚úŅ‚óČ‚óŹ‚ÄĘ‚ó¶ - avatar
+ 1
All about gaming , Now I'm curious. Please post the code.
15th Apr 2024, 5:23 PM
Rain
Rain - avatar
+ 1
Because you couldn't make it work.
16th Apr 2024, 9:54 AM
Arthur L
Arthur L - avatar