Hello guys… I’m working in some exercise with turtles (python).
Some draws take more time that I wanted, but there are not any infinite loop.
When I run the code, at some point it shows me this error.
I want to know where I can set the Execution Limit.
Please, I appreciate your help
Error
TimeLimitError: Program exceeded run time limit. on line 100
Description
Your program is running too long. Most programs in this book should run in less than 10 seconds easily. This probably indicates your program is in an infinite loop.
To Fix
Add some print statements to figure out if your program is in an infinte loop. If it is not you can increase the run time with sys.setExecutionLimit(msecs)