Commit 49c6f1ed by BellCodeEditor

save project

parent 07858a54
Showing with 21 additions and 0 deletions
# 利用write()帮助悟空给诺依回信吧~
import turtle
screen=turtle.Screen()
screen.bgcolor("light blue")
pen=turtle.Pen()
pen.penup()
pen.goto(100,-100)
pen.write("1111111",font=("Times",90,"normal"))
pen.hideturtle()
Pen1=turtle.Pen()
Pen1.pensize(5)
screen.textinput("提示""你要多大的爱心")
a=int(len)_
Pen1.left(45)
Pen1.forward(2*a)
Pen1.circle(a,180)
Pen1.right(90)
Pen1.circle(a,180)
Pen1.forward(2*a)
Pen1.hideturtle()
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