Commit 8cdcfe63 by BellCodeEditor

save project

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