Commit 6368770a by BellCodeEditor

auto save

parent c816b9b8
Showing with 16 additions and 0 deletions
import turtle
pen = turtle.Pen()
pen.speed(1)
pen.color("yellow") #设置画笔颜色
pen.fillcolor("red") #设置填充色
pen.begin_fill() #开始填充
pen.left(45)
pen.forward(100)
pen.circle(50, 180)
pen.right(90)
pen.circle(50,180)
pen.forward(100)
pen.end_fill() # 结束填充
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