Commit 6d6f17a0 by BellCodeEditor

auto save

parent b6ecd7ef
Showing with 11 additions and 5 deletions
import turtle import turtle
pen=turtle.Pen() pen = turtle.Pen()
for i in range (5): pen.color("red","yellow")
pen.forward(200) pen.begin_fill()
pen.right(144) for i in range(36):
pen.down() 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