Commit e7045759 by BellCodeEditor

save project

parent 513d0173
Showing with 10 additions and 5 deletions
import turtle
pen=turtle.Pen()
screen=turtle.Screen()
len = screen.textinput("❤❤❤❤❤❤❤","爱心大小?")
lovesize = int(len)
screen.bgcolor("light blue")
pen.penup()
pen.goto(300,-325)
pen.write("㗊\n\n\n\n\n\n\n\n",font=("仿宋",50,"normal"))
pen.hideturtle()
len = 125
pen1=turtle.Pen()
pen.color("white")
pen1.shape("triangle")
pen1.penup()
pen1.goto(0,-200)
pen1.pendown()
pen1.color("red")
pen1.speed(5)
pen1.left(45)
pen1.forward(250)
pen1.circle(125,180)
pen1.forward(lovesize*2)
pen1.circle(lovesize,180)
pen1.right(90)
pen1.circle(125,180)
pen1.forward(250)
pen1.circle(lovesize,180)
pen1.forward(lovesize*2)
pen1.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