Making a Rainbow Benzene with python3

No.10905049 ViewReplyOriginalReport
It's a very sample code that I wrote using python
with the turtle module, I hope you enjoy :)
here is the code:
import turtle
colors = ['red', 'purple', 'blue', 'green', 'orange', 'yellow']
t = turtle.Pen()
turtle.bgcolor('black')
for x in range(360):
t.pencolor(colors[x%6])
t.width(x/100 + 1)
t.forward(x)
t.left(59)