Commit 48e07288 by BellCodeEditor

save project

parent 502e02cf
Showing with 5 additions and 3 deletions
...@@ -4,9 +4,11 @@ pen = turtle.Pen() ...@@ -4,9 +4,11 @@ pen = turtle.Pen()
pen.shape("turtle") pen.shape("turtle")
pen.fillcolor("red") pen.fillcolor("red")
pen.begin_fill() pen.begin_fill()
for i in range(5): for i in range(220):
pen.forward(200) pen.forward(20)
pen.left((360/5)*2) pen.left(30)
pen.forward(50)
pen.left(70)
pen.end_fill() pen.end_fill()
......
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