Commit c2aa860c by BellCodeEditor

save project

parent 654bc3ba
Showing with 23 additions and 0 deletions
# 利用write()帮助悟空给诺依回信吧~
import turtle
p=turtle.Pen()
s=turtle.Screen()
s.bgcolor("light blue")
p.penup()
p.goto(100,-100)
p.write("you and my is so so pig!",font=("MV Boli",40,"normal"))
p.hideturtle()
a=turtle.Pen()
l=int(s.textinput("姓名框","爱心大小:"))
a.left(45)
a.forward(2*l)
a.circle(l,180)
a.right(90)
a.circle(l,180)
a.forward(2*l)
a.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