Commit 02d362f7 by BellCodeEditor

auto save

parent e880460f
Showing with 7 additions and 3 deletions
......@@ -2,20 +2,24 @@ import turtle
pen=turtle.Pen()
pen.penup()
pen.goto(100,-100)
pen.pensize(10)
pen.write("你好\nXXX",font=("Times",20,"normal"))
pen.hideturtle()
screen=turtle.Screen()
screen.bgcolor("orange")
pen1=turtle.Pen()
pen1.pensize(10)
pen1.pencolor("yellow")
pen1.begin_fill()
pen1.fillcolor("yellow")
pen1.left(45)
pen1.forward(100)
pen1.circle(50,180)
pen1.right(90)
pen1.circle(50,180)
pen1.forward(100)
pen1.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