Commit 27061748 by BellCodeEditor

save project

parent cf18e9b2
Showing with 18 additions and 0 deletions
...@@ -2,4 +2,21 @@ import turtle ...@@ -2,4 +2,21 @@ import turtle
pen=turtle.Pen() pen=turtle.Pen()
pen.write("大坏蛋,\n死变态。\n傻逼。\n--悟空",font=("Times",30,"normal")) pen.write("大坏蛋,\n死变态。\n傻逼。\n--悟空",font=("Times",30,"normal"))
pen.hideturtle() pen.hideturtle()
pen1=turtle.Pen()
screen=turtle.Screen()
screen.bgcolor("blue")
pen1.penup()
pen1.goto(-100,100)
a=100
pen1.fillcolor("red")
pen1.begin_fill()
pen1.color("red")
pen1.right(-135)
pen1.circle(a/2,180)
pen1.forward(a)
pen1.right(-90)
pen1.forward(a)
pen1.circle(a/2,180)
pen1.end_fill()
pen1.hideturtle()
turtle.done() 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