Commit 03068eac by BellCodeEditor

save project

parent 505c4243
Showing with 12 additions and 4 deletions
...@@ -2,15 +2,23 @@ ...@@ -2,15 +2,23 @@
import turtle #导入turtle import turtle #导入turtle
# A=turtle.Pen() # a=turtle.Pen()
# A.write("床前明月光,疑是地上霜。\n举头望明月,低头思故乡。",font=("STKAITI",30,"normal")) # a.write("床前明月光,疑是地上霜。\n举头望明月,低头思故乡。",font=("STKAITI",30,"normal"))
# A.hideturtle() # a.hideturtle()
# turtle.done() # turtle.done()
a=turtle.Pen() a=turtle.Pen()
a.circle(-50) a.pencolor("red")
a.right(-45)
a.forward(100) a.forward(100)
a.circle(50,180) a.circle(50,180)
a.right(90)
a.circle(50,180)
a.forward(100)
a.hideturtle()
turtle.done() 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