Turtle Blast

This is my Turtle blast code i was asked to make my turtle produce different random blast and generate a blast from the inside out, by this i mean that the turtle will always start at a different point and end at a different point all the time.

 

 

import turtle

import random

window = turtle.Screen()
window.bgcolor(“red”)

omar = turtle.Turtle()
omar.color(“white”)
omar.pensize(“1”)
omar.speed(100)

for x in range(100):
omar.right(random.randint(0,45))
distance = random.randint(0,150)
omar.forward(distance)
omar.back(distance)

Screenshot 2016-02-25 19.23.36

The code is simple

Screenshot 2016-02-25 19.23.42