Commit f1250db5 by BellCodeEditor

save project

parent 1f16ce4e
Showing with 3 additions and 1 deletions
...@@ -4,8 +4,10 @@ ...@@ -4,8 +4,10 @@
""" """
import turtle import turtle
pen=turtle.Pen() pen=turtle.Pen()
i=1 screen=turtle.bgcolor("black")
wwww=["red","orange","yellow","green"]
for i in range(1,300): for i in range(1,300):
pen.color(wwww[i%4])
pen.forward(i) pen.forward(i)
pen.right(91) pen.right(91)
pen.hideturtle() pen.hideturtle()
......
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