Commit 322e922e by BellCodeEditor

save project

parent 07858a54
Showing with 21 additions and 0 deletions
import turtle
p=turtle.Pen()
s=turtle.Screen()
s.bgcolor("pink")
p.penup()
p.goto(100,-100)
p.write("鹅鹅\n曲项向天歌\n白毛浮绿水\n红掌拨清波",font=("Times",30,"normal"))
p.hideturtle()
p1=turtle.Pen()
p1.pencolor("red")
L=s.textinput("提示","你多大的爱心")
l=int(L)
p1.left(45)
p1.forward(2*l)
p1.circle(l,180)
p1.right(90)
p1.circle(l,180)
p1.forward(2*l)
p1.hideturtle()
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