Commit 0ed529d9 by BellCodeEditor

save project

parent ceaf8b5d
Showing with 5 additions and 0 deletions
......@@ -11,10 +11,15 @@
# print("登录成功!")
# break
# print("欢迎来到贝尔编程!")
cl=["red","violet","yellow","orange"]
import turtle
s=turtle.Screen()
pen=turtle.Pen()
for i in range (1,300):
pen.forward(i)
pen.pencolor(cl[i%4])
pen.right(91)
s.bgcolor(black)
pen.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