Commit 90d4d54f by BellCodeEditor

save project

parent 3e3dedbb
Showing with 19 additions and 2 deletions
......@@ -2,15 +2,31 @@ import turtle
screen=turtle.Screen()
screen.bgcolor("light yellow")
pen=turtle.Pen()
pen.write("你好\n笑死我了",font=("Time",30,"normal"))
pen.write("for you\n与卿",font=("Time",30,"normal"))
pen.fillcolor("red")
pen.penup()
pen.pencolor("red")
pen.goto(-100,0)
pen.goto(-200,0)
pen.pendown()
pen.begin_fill()
pen.left(45)
pen.forward(200)
pen.circle(100,180)
pen.right(90)
pen.circle(100,180)
pen.forward(200)
pen.end_fill()
pen.fillcolor("pink")
pen.penup()
pen.pencolor("pink")
pen.goto(-200,0)
pen.pendown()
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()
\ No newline at end of file
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