from math import * from turtle import * from random import * from time import * color(255,255,255) speed(10) pensize(5) while 1: pendown() while (position()[0]>-150 and position()[0]<150) and (position()[1]>-100 and position()[1]<100): #right(randint(0,1)*90) setheading(randint(0,3)*90) forward(randint(0,3)*10) sleep(0) penup() goto(-10,0) color(randint(0,255),randint(0,255),randint(0,255))