Commit b577781b by BellCodeEditor

save project

parent b3bcba85
Showing with 16 additions and 5 deletions
......@@ -2,7 +2,19 @@
import turtle#导入turtle模块
A=turtle.Pen()#新建画笔
A.write("你好\n再见",font=("Times",30,"normal"))#写字
A.hideturtle()#隐藏画笔
turtle.done()#保持画布
\ No newline at end of file
# A=turtle.Pen()#新建画笔
# A.write("你好\n再见",font=("Times",30,"normal"))#写字
# A.hideturtle()#隐藏画笔
# turtle.done()#保持画布
a=turtle.Pen()
a.pensize(3)
a.pencolor("red")
a.right(-45)
a.forward(100)
a.circle(50,180)
a.right(90)
a.circle(50,180)
a.forward(100)
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