Commit 1381bf94 by BellCodeEditor

save project

parent a50ceeec
Showing with 24 additions and 0 deletions
import turtle
scerrn=turtle.Screen()
scerrn.bgcolor("light blue")
pen=turtle.Pen()
pen.penup()
pen.goto(100,-100)
pen.write("666",font=("times",30,"normal"))
pen.hideturtle()
pen=turtle.Pen()
pen.hideturtle()
pen=turtle.Pen()
pen.pencolor("red")
pen.pensize(5)
len=scerrn.textinput("提示","你想要多大的爱心")
love=int(len)
pen.left(45)
pen.forward(2*love)
pen.circle(love,180)
pen.right(90)
pen.circle(love,180)
pen.forward(2*love)
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