Commit 8199ce10 by BellCodeEditor

save project

parent 66b72e0e
Showing with 8 additions and 3 deletions
......@@ -4,12 +4,16 @@
"""
import turtle
pen = turtle.Pen()
pen.speed(10)
pen.speed(50)
s=turtle.Screen()
c=["red","olive","gold","green","blue","purple"]
s.bgcolor("black")
# 请创造师在下面接着创作
for i in range(1,300):
for i in range(1,200):
pen.pencolor(c[i%6])
pen.forward(i)
i+=1
pen.right(91)
pen.right(61)
# 隐藏画笔,保存画布
pen.hideturtle()
turtle.done()
\ No newline at end of file
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