Commit 5bc971de by BellCodeEditor

save project

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