-
-
Notifications
You must be signed in to change notification settings - Fork 123
Open
Description
Especially for schools with chromebooks, they may even need to increase execution limits on some non-turtle code later in the book.
Currently, this is offered in the Monte Carlo simulation project page, but not anywhere in the main text:
Note
Extending the Time Limit
When doing a long running simulation like the pi calculation you may run up against the time limit we have set for your program. 25 seconds. to increase the time you can do the following in your program:
import sys
sys.setExecutionLimit(60000)
That ups the time limit to 60 seconds. The value you pass is in milliseconds.
Metadata
Metadata
Assignees
Labels
No labels