Commit ad7fb89b by BellCodeEditor

save project

parent 5b7b2751
Showing with 4 additions and 4 deletions
# 利用write()帮助悟空给诺依回信吧~ # 利用write()帮助悟空给诺依回信吧~
import turtle import turtle
len=S.textinput("你老婆多大")
len=int(len)
yq=turtle.Screen() yq=turtle.Screen()
yq.bgcolor("pink") yq.bgcolor("pink")
len=yq.textinput("你大","你大")
len=int(len)
ttk=turtle.Pen() ttk=turtle.Pen()
ttk.penup() ttk.penup()
ttk.goto(90,0) ttk.goto(90,0)
ttk.write("我爱你,\n 亲爱滴姑娘~~" ,font = ("times",30,"normal")) ttk.write("我爱你,\n 亲爱滴姑娘~~" ,font = ("times",15,"normal"))
ttk.hideturtle() ttk.hideturtle()
kkt=turtle.Pen() kkt=turtle.Pen()
kkt.pencolor("pink") kkt.pencolor("purple")
kkt.pensize(20) kkt.pensize(20)
kkt.left(90) kkt.left(90)
kkt.forward(2*len) kkt.forward(2*len)
......
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