Commit 8cdcfe63 by BellCodeEditor

save project

parent 84192a21
Showing with 8 additions and 11 deletions
import turtle
screen=turtle.Screen()
screen.bgcolor("pink")
len=screen.textinput("标题"," ")
lovesize=int(len)
pen=turtle.Pen()
pen.left(45)
pen.forward(lovesize)
pen.circle(lovesize,180)
pen.right(90)
pen.circle(lovesize,180)
pen.forward(lovesize)
screen=turtle.Screen()
size1=screen.textinput("标题"," ")
size=int(size1)
pen.circle(size)
pen.circle(size,360,3)
pen.circle(size,60)
pen.circle(size,360,3)
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