Commit 0da1b5e4 by BellCodeEditor

save project

parent a572f9a9
Showing with 5 additions and 3 deletions
import turtle import turtle
screen=turtule.Screen() screen=turtle.Screen()
screen.bgcolor("light blue") screen.bgcolor("light blue")
pen=turtle.Pen() pen=turtle.Pen()
pen.penup() pen.penup()
...@@ -11,7 +11,9 @@ pen.fillcolor(color) ...@@ -11,7 +11,9 @@ pen.fillcolor(color)
pen.begin_fill() pen.begin_fill()
for i in range(5): for i in range(5):
pen.forward(200) pen.forward(200)
pen.right(144) pen1.
pen.end_fill() pen1.forward(2*len)
pen.hideturtle() pen.hideturtle()
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