Netbyzz

#B010

Python :

#CODE = #B010
import turtle

def draw_attractive_design5():
    colors = ["red", "orange", "yellow", "green", "blue", "purple"]
    pen = turtle.Turtle()
    pen.speed(10)
    turtle.bgcolor("black")  
    pen.pensize(2)

    initial_size = 100

    for y in range(300):
        pen.color(colors[y % 6])
        pen.forward(initial_size + y)
        pen.left(150)

    pen.hideturtle()
    
draw_attractive_design5()

turtle.done()

Source Code