Commit 88cb975d by BellCodeEditor

save project

parent 9444ce69
Showing with 14 additions and 6 deletions
import turtle
pen = turtle.Pen()
screen = turtle.Screen()
screen.bgcolor("light pink")
......@@ -10,9 +6,8 @@ colors=["white","blue","violet","cyan"]
distance=1
pen.speed(1000)
for i in range(1,300):
pen.pencolor(colors[i%4])
pen.pencolor(colors[i])
pen.forward(i)
pen.right(91)
pen.hideturtle()
turtle.done()
import turtle
pen=turtle.Pen()
distance=1
for i in range(300):
pen.forward(distance)
pen.right(91)
distance+=1
pen.hideturtle()
turtle.done()
\ No newline at end of file
++ "b/sad\343\200\202py"
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