Commit 5bc971de by BellCodeEditor

save project

parent 6c30129e
Showing with 8 additions and 4 deletions
import turtle import turtle
pen=turtle.Pen() c=["green","red","orange","yellow"]
for i in range(300): pen = turtle.Pen()
pen.forward(i) # 请创造师在下面接着创作
distance+=1 for q in range(300):
pen.forward(q)
pen.color(c[q%4])
pen.right(91) pen.right(91)
# 隐藏画笔,保存画布
pen.hideturtle() pen.hideturtle()
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