Commit d4596b19 by BellCodeEditor

save project

parent faf8dd05
Showing with 22 additions and 0 deletions
import turtle
s=turtle.Screen()
s.bgcolor("pink")
pen= turtle.Pen()
pen.penup()
pen.goto(100,-100)
pen.write("诺依,你",font=("Times",20,"normal"))
pen.hideturtle()
a= turtle.Pen()
a.pencolor("blue")
a.pensize(9)
m=s.textinput("提示","你想要多大的爱心")
l=int(m)
a.left(45)
a.forward(2*l)
a.circle(l,180)
a.right(90)
a.circle(l,180)
a.forward(2*l)
a.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