Commit 2d01d6b5 by BellCodeEditor

save project

parent 07858a54
Showing with 16 additions and 0 deletions
import turtle
screen=turtle.Screen()
len=screen.textinput("提示","想画多大的爱心:")
sb=int(len)
pen=turtle.Pen()
pen.write("徐嘉骏喜欢吃翔",font=("Times",30,"normal"))
pen1=turtle.Pen()
pen1.pencolor("green")
pen1.left(45)
pen1.forward(2*sb)
pen1.circle(sb,180)
pen1.right(90)
pen1.circle(sb,180)
pen1.forward(2*sb)
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