Commit 3d4aff1d by BellCodeEditor

save project

parent 07858a54
Showing with 22 additions and 0 deletions
import turtle
pen=turtle.Pen()
screen=turtle.Screen()
len=screen.textinput("提示","你要多大的爱心")
len=int(len)
pen.pencolor("red")
pen.pensize(10)
pen.left(45)
pen.circle(-len,180)
pen.fd(len*2)
pen.rt(90)
pen.fd(len*2)
pen.circle(-len,180)
pen.penup()
pen1=turtle.Pen()
pen1.penup()
pen1.goto(100,-100)
pen1.write("asdjhkfbjk",font=("Times",20,"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