Commit e7573607 by BellCodeEditor

auto save

parent 1c84e119
Showing with 23 additions and 0 deletions
import turtle
b=turtle.Screen()
c=int(b.textinput("提示","你想要多大的爱心")
b.bgcolor('white')
b.textinput("提示","你想要多大的爱心")
a=turtle.Pen()
a.pensize(3)
a.pencolor("black")
a.write("aeg\nfuyg",font=('times',20,"normal"))
a.hideturtle()
a.penup()
a.goto(100,0)
a.left(45)
a.pendown()
a.pencolor("red")
a.forward(c*2)
a.circle(c,180)
a.right(90)
a.circle(c,180)
a.forward(c*2)
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