Turtle graphics

In this exercise we use turtle and random to make this shape

 

import turtle
import random
x = turtle.Turtle()
wn =turtle.Screen()
wn.bgcolor(“red”)
x.color(“white”)
for i in range (100):
m = random.randrange(0,45)
a = random.randrange(0,150)
x.right(m)
x.forward(a)
x.backward(a)