Commit 8d5d1316 by BellCodeEditor

save project

parent d0dd6468
Showing with 3 additions and 6 deletions
...@@ -5,15 +5,12 @@ ...@@ -5,15 +5,12 @@
import turtle import turtle
pen=turtle.Pen() pen=turtle.Pen()
screen=turtle.Screen() screen=turtle.Screen()
screen.bgcolor("blue") screen.bgcolor("green")
x=1
pen.fillcolor("red") pen.fillcolor("red")
for i in range(300): for i in range(1,300):
for i in range(4):
pen.begin_fill() pen.begin_fill()
pen.forward(x) pen.forward(i)
pen.left(91) pen.left(91)
x+=1
turtle.done() 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