import turtle as t 
from random import randint

'''
t.up()

def after_click(x, y): 
    print('test')
    t.up()
    t.goto(x, y)
    t.dot(10)

t.onscreenclick(after_click)
t.done()
'''
t.speed(9)
while True: 
    x = randint(300, 400)
    y = randint(-100, 100)
    t.goto(x, y)
    x = randint(-400, 300)
    y = randint(-100, 100)
    t.goto(x, y)


