Commit ae461bf3 by BellCodeEditor

save project

parent 6ae7e127
Showing with 9 additions and 5 deletions
import turtle
screen=turtle.Screen()
screen.bgcolor("pink")
pen=turtle.Pen()
pen.penup()
pen.goto(100,-100)
pen.write("亻尔女子,\n礻兄亻尔国庆忄夬乐",font=("Times",30,"normal"))
pen.write("亻尔女子,\n礻兄亻尔国庆忄夬乐,\n(我才不相心讠上亻尔\n王元白勺开心)",font=("Times",30,"normal"))
pen.hideturtle()
pen1=turtle.Pen()
len=screen.textinput("提示","**********你想要多大的爱心**********")
len1=int(len)
pen1.pencolor("red")
pen1.pensize(5)
pen1.left(45)
pen1.forward(100)
pen1.circle(50,180)
pen1.forward(2*len1)
pen1.circle(len1,180)
pen1.right(90)
pen1.circle(50,180)
pen1.forward(100)
pen1.circle(len1,180)
pen1.forward(2*len1)
turtle.done()
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