Commit 5da46f9d by BellCodeEditor

save project

parent f28fe999
Showing with 9 additions and 8 deletions
FBL=60
import turtle
shitbro=turtle.Screen()
shitbro.bgcolor("pink")
screen=turtle.Screen()
ewq=screen.textinput("提示","爱心大小")
ewq=float(ewq)
screen.bgcolor("pink")
p=turtle.Pen()
p.penup()
p.fd(2*FBL)
p.fd(2*ewq)
p.write("你好",font=("Times",30,"normal"))
p.hideturtle()
p1=turtle.Pen()
p1.pencolor("red")
p1.pensize(3)
p1.left(45)
p1.fd(2*FBL)
p1.circle(FBL,180)
p1.fd(2*ewq)
p1.circle(ewq,180)
p1.right(90)
p1.circle(FBL,180)
p1.fd(2*FBL)
p1.circle(ewq,180)
p1.fd(2*ewq)
p1.hideturtle()
shitbro=turtle.Screen()
shitbro.bgcolor("pink")
......
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