Commit cd241e13 by BellCodeEditor

save project

parent aa46c62a
Showing with 7 additions and 2 deletions
......@@ -19,10 +19,14 @@ print("欢迎来到贝尔编程")'''
import turtle
pen=turtle.Pen()
screen = turtle.screen()
screen.bgcolor("light pink")
list=["red","pink","orange","yellow"]
distance=1
pen.speed(1000)
for i in range(1,300,1):
pen.forward(distance)
distance+=1
pen.pencolor([i%4])
pen.forward(i)
pen.right(91)
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