Commit d5c726c6 by BellCodeEditor

auto save

parent 333725b7
Showing with 17 additions and 0 deletions
import turtle
screen=turtle.Screen()
a=screen.textinput("画爱心","请输入数字")
a=float(aegdd)
pen=turtle.Pen()
pen.color("red")
pen.begin_fill()
pen.left(45)
pen.forward(a)
pen.circle(a/2,180)
pen.right(90)
pen.circle(a/2,180)
pen.forward(a)
pen.end_fill()
pen.hideturtle()
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