from graph import *
from random import choice
def newPoint():
--x = randint(0, 199)
--y = randint(0, 199)
--r = randint(0, 255)
--g = randint(0, 255)
--b = randint(0, 255)
--penColor(r,g,b)
--point(x, y)
def keyPressed(event):
--if event.keycode == VK_ESCAPE:
----close()
onKey(keyPressed)
onTimer(newPoint, 10)
run()