import turtle
import random
wn = turtle.Screen()
wn.bgcolor(“red”)
Syed = turtle.Turtle()
Syed.color(“white”)
Syed.pensize(1)
for a in range(100):
angle = random.randint(0,45)
Syed.left(angle)
length = random.randint(0,150)
Syed.forward(length)
Syed.backward(length)