Commit a2e4e852 by BellCodeEditor

save project

parent 2b44dbef
Showing with 7 additions and 3 deletions
import turtle
screen=turtle.Screen()
screen.bgcolor("red")
Pen=turtle.Pen()
Pen.goto(100,-100)
Pen.write("诺依",font=("times",40,"normal"))
Pen.hideturtle()
# turtle.done()
len=screen.textinput("提示","你想要多大爱心?")
a=int(len)
pen.forword(90)
len=80
a=80
pen1=turtle.Pen()
pen1.left(45)
pen1.forword(2*len)
pen1.cricle(-180,180)
pen1.forword(2*a)
pen1.cricle(a,180)
pen1.right(45)
pen1=turtle.Pen()
turtle.done()
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