Commit e69f1518 by BellCodeEditor

save project

parent 8bcb4403
Showing with 10 additions and 4 deletions
import turtle import turtle
pen = turtle.Pen() pen = turtle.Pen()
colors=("red","orange") colors=["red","orange","yellow","green","pink",]
# 请创造师在下面接着创作
distance=1 distance=1
for i in range(900): for i in range(207):
pen.forward(distance) pen.forward(distance)
pen.pencolor(colors[i%5])
distance+=0.1 distance+=0.1
pen.right(15) pen.right(20)
pen.right(20)
pen.forward(8)
pen.right(90)
pen.forward(70)
......
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