Commit d6ca8a27 by BellCodeEditor

save project

parent 66bea9fd
Showing with 16 additions and 0 deletions
a=textinput("提示""爱心大小")
len=int(a)
import turtle
pen=turtle.Pen()
pen.hideturtle()
pen.write("ohohohohhohohohoho",font=("Times",20,"normal"))
pen.pencolor("red")
pen.pensize(5)
pen.left(45)
pen.forward(len*2)
pen.circle(len,180)
pen.right(90)
pen.circle(len,180)
pen.forward(len*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