Commit 2ed0ff5e by BellCodeEditor

save project

parent c25604d4
Showing with 14 additions and 0 deletions
import turtle
pen=turtle.Pen()
pen.pencolor("white")
for i in range(3):
pen.left(120)
pen.forward(200)
pen.pencolor("red")
pen.forward()
turtle.done()
...@@ -3,6 +3,8 @@ ...@@ -3,6 +3,8 @@
""" """
import turtle import turtle
pen=turtle.Pen() pen=turtle.Pen()
pen.shape("turtle")
pen.pencolor("red")
pen.fillcolor("red") pen.fillcolor("red")
pen.begin_fill() pen.begin_fill()
for i in range(5): for i in range(5):
......
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