Commit e6166cbb by BellCodeEditor

auto save

parent 8a6088e2
Showing with 16 additions and 0 deletions
import turtle
screen=turtle.Screen()
len=int(screen.textinput("提示","你想要多大的爱心?"))
screen.bgcolor("Light pink")
pen=turtle.Pen()
pen.left(45)
pen.forward(len)
pen.circle(len/2,180)
pen.right(90)
pen.circle(len/2,180)
pen.forward(len)
pen.penup()
pen.goto(100,-100)
pen.write("hello",font=("Times",15,"normal"))
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