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) a=80 pen1=turtle.Pen() pen1.left(45) pen1.forword(2*a) pen1.cricle(a,180) pen1.right(45) pen1=turtle.Pen() turtle.done()