Commit 6d6f17a0 by BellCodeEditor

auto save

parent b6ecd7ef
Showing with 11 additions and 5 deletions
import turtle
pen=turtle.Pen()
for i in range (5):
pen.forward(200)
pen.right(144)
pen.down()
pen = turtle.Pen()
pen.color("red","yellow")
pen.begin_fill()
for i in range(36):
pen.forward(200) # 移动200
pen.right(170) # 改变方向
pen.end_fill()
pen.hideturtle()
turtle.done()
pen.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