Turtle blast is a python program created using the turtle and random module. This program draws random yellow lines into the red screen. I have used the following code to program this.
Code:
import turtle
import random
window = turtle.Screen()
window.bgcolor(“red”)
tama=turtle.Turtle()
tama.color(“yellow”)
for t in range(100):
tama.right(random.randint(0,45))
distance = random.randint(0,150)
tama.forward (distance)
tama.backward (distance)
window.exitonclick()