Commit 1b951c9d by BellCodeEditor

save project

parent caebe3ac
Showing with 4 additions and 2 deletions
...@@ -4,9 +4,11 @@ ...@@ -4,9 +4,11 @@
""" """
import turtle import turtle
d=["red","yellow","blue"] d=["red","yellow","blue"]
pen.bgcolor("light blue")
pen=turtle.Pen() pen=turtle.Pen()
for i in range(1,300): distance=1
pen.forward(i) for i in range(300):
pen.forward(distance)
pen.right(91) pen.right(91)
distance+=1 distance+=1
pen.color(d) pen.color(d)
......
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