Commit 177f1db4 by BellCodeEditor

save project

parent d5615053
Showing with 7 additions and 2 deletions
......@@ -19,11 +19,16 @@ while True:
print("密码错误")'''
import turtle
turtle.speed(20)
turtle.pencolor("black")
turtle.screensize(0,0,"black")
colors=["red","orange","yellow","green"]
turtle.speed(30)
for i in range(0,300):
turtle.pencolor(colors[i%4])
turtle.forward(i)
turtle.right(91)
turtle.hideturtle()
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