Jul-24-2023, 02:10 PM
@snippsat is correct. You do not get the error when importing the library. It only has an effect when the program exits, which happens immediately if your program consists solely of "import vpython". Try this:
My guess is the divide by zero function is a default exit function that you are meant to override.
import vpython import time time.sleep(10)No error until 10 seconds has passed.
My guess is the divide by zero function is a default exit function that you are meant to override.