'Return or set the drawing delay in milliseconds.
Optional argument:
delay -- positive integer
Example (for a TurtleScreen instance named screen):
>>> screen.delay(15)
>>> screen.delay()
15'

def delay(self, delay=None):

    if (delay is None):
        return self._delayvalue
    self._delayvalue = int(delay)
