Commit 9e666d46 by BellCodeEditor

save project

parent bf3144c1
Showing with 7 additions and 4 deletions
......@@ -6,13 +6,15 @@ pen.penup()
pen.goto(-100,100)
pen.write("谢谢你诺依这软件真TM好用!",font=("Times",13,"normal"))
pen1= turtle.Pen()
rum=turtle.textinput("看看这个:","你想要多大的爱?")
rum=int(rum)
pen1.pencolor("red")
pen1.left(45)
pen1.forward(100)
pen1.circle(50,180)
pen1.forward(2*rum)
pen1.circle(rum,180)
pen1.right(90)
pen1.circle(50,180)
pen1.forward(100)
pen1.circle(rum,180)
pen1.forward(2*rum)
pen1.fillcolor("red")
screen.bgcolor("light blue")
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