turtle.delay()

turtle.delay(delay=None)

Parameters: delay – positive integer

Set or return the drawing delay in milliseconds. (This is approximately the time interval between two consecutive canvas updates.) The longer the drawing delay, the slower the animation.

Optional argument:

>>> screen.delay()
10
>>> screen.delay(5)
>>> screen.delay()
5
doc_python
2016-10-07 17:45:26
Comments
Leave a Comment

Please login to continue.