import turtle
import random
Tom=turtle.Turtle()
Tom.color(‘white’)
Tom.pensize(5)
canvas = turtle.Screen()
canvas.bgcolor(‘red’)
for i in range(100):
Tom.right(random.randrange(0,45))
distance=random.randrange(0,150)
Tom.forward(distance)
Tom.backward(distance)