Commit 5806d8ae by BellCodeEditor

save project

parent e95626bf
Showing with 1 additions and 1 deletions
...@@ -10,7 +10,7 @@ pen = turtle.Pen() ...@@ -10,7 +10,7 @@ pen = turtle.Pen()
# 请创造师在下面接着创作 # 请创造师在下面接着创作
colors=["red","orange","yellow","green"] colors=["red","orange","yellow","green"]
for i in range(30): for i in range(30):
pen._color(colors[i%4]) pen.color(colors[i%4])
pen.forward(i) pen.forward(i)
pen.right(91) pen.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