import turtle

def draw(w,y):
    t.goto(w,y)

t = turtle.Turtle()
t.shape("turtle")
t.pensize(10)

s = turtle.Screen()
s.onscreenclick(draw)

s.onkey(t.penup, "Up")
s.onkey(t.pendown, "Down")
s.listen()

