Commit 1ff0dcb3 by BellCodeEditor

save project

parent 3df4c7ae
Showing with 2 additions and 2 deletions
...@@ -5,11 +5,11 @@ ...@@ -5,11 +5,11 @@
import turtle import turtle
pen = turtle.Pen() pen = turtle.Pen()
colors=["red","orang","yellow","green"] colors=["red","orange",]
# 请创造师在下面接着创作i # 请创造师在下面接着创作i
for i in range(1,300): for i in range(1,300):
pen.forward(i) pen.forward(i)
pen.pencolor(colors[i%4]) pen.pencolor(colors[i%2])
pen.left(91) pen.left(91)
turtle.done() turtle.done()
......
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