Commit 6ea6b6db by BellCodeEditor

save project

parent 083bbb9a
Showing with 16 additions and 4 deletions
......@@ -3,7 +3,19 @@ screen=turtle.Screen()
screen.bgcolor("yellow")
len=screen.textinput("大小","你要多大的黑心")
lovesize=int(len)
pen.turtle.Pen()
pen=turtle.Pen()
pen.penup()
pen.goto(50,-50)
pen.write("小贝和诺依都是黑心商人",font=("times",20,"normal"))
\ No newline at end of file
pen.goto(100,-100)
pen.write("小贝和诺依都是黑心商人",font=("times",15,"normal"))
pen.hideturtle()
pen1=turtle.Pen()
pen1.pencolor("white")
pen1.fillcolor("blue")
pen1.begin_fill()
pen1.circle(lovesize)
pen1.circle(lovesize,360,3)
pen1.circle(lovesize,60)
pen1.circle(lovesize,360,3)
pen1.end_fill()
pen1.hideturtle()
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