import turtle as q
a = q.Pen()
a.hideturtle()
sx1=-240
sy1=240
a.speed(1000)
for j in range(-240,241,40):
for i in range(-240,241,40):
a.goto(sx1,j)
a.goto(240,i)
q.done()
import turtle as q
a = q.Pen()
a.hideturtle()
sx1=-240
sy1=240
a.speed(1000)
for j in range(-240,241,40):
for i in range(-240,241,40):
a.goto(sx1,j)
a.goto(240,i)
q.done()