Commit e6f12e84 by BellCodeEditor

save project

parent 07858a54
Showing with 24 additions and 0 deletions
import turtle
pen=turtle.Pen()
pen.color("red")
pen.up()
pen.goto(200,-100)
pen.down()
pen.write("[^~^]",font=("times",30,"normal"))
pen.hideturtle()
p=turtle.Pen()
s = turtle.Screen()
q=s.textinput("爱心","你要多大的爱心呀")
int(q)
p.pensize(11)
p.pencolor("red")
p.left(45)
p.forward(q*2)
p.circle(q,180)
p.right(90)
p.circle(q,180)
p.forward(q*2)
p.hideturtle()
s.bgcolor("blue")
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