Commit fa695a99 by BellCodeEditor

auto save

parent a5423646
for i in range(1,10):
import turtle
p=turtle.Pen()
p.speed(20)
for i in range(1,200):
p.forward(i)
p.left(91)
turtle.done()
...@@ -9,7 +9,7 @@ s=turtle.Screen() ...@@ -9,7 +9,7 @@ s=turtle.Screen()
s.bgcolor("black") s.bgcolor("black")
p.speed(20) p.speed(20)
cs=["blue","white","yellow","red"] cs=["blue","white","yellow","red"]
for i in range(1,700): for i in range(1700):
p.pencolor(cs[i%4]) p.pencolor(cs[i%4])
p.forward(i) p.forward(i)
p.right(91) p.right(91)
......
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