Commit d506581b by BellCodeEditor

save project

parent 1809d1cf
Showing with 5 additions and 2 deletions
import turtle
c.turtle.Screen()
jiji=c.textinput("提示","要多大的爱心")
ren=int(jiji)
jiji=60
a=turtle.Pen()
a.write("祝你生日快乐!",font=("黑体",30,"normal"))
......@@ -8,11 +11,11 @@ a.pendown()
a.fillcolor("pink")
a.begin_fill()
a.left(45)
a.forward(jiji*2)
a.forward(ren*2)
a.circle(jiji,180)
a.right(90)
a.circle(jiji,180)
a.forward(jiji*2)
a.forward(ren*2)
a.hideturtle()
i=turtle.Screen()
i.bgcolor("green")
......
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