Commit 0cfc836e by BellCodeEditor

save project

parent ac094c56
Showing with 4 additions and 0 deletions
......@@ -4,9 +4,13 @@
"""
import turtle
pen=turtle.Pen()
a=turtle.Screen()
a.bgcolor("black")
color=["white","green","blue","purple","pink","red"]
pen.pendown()
pen.speed(100)
for i in range(1,300):
pen.pencolor(color[i%6])
pen.forward(i)
pen.right(91)
pen.penup()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment