Commit 8d5d1316 by BellCodeEditor

save project

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