Commit 7fa8df83 by BellCodeEditor

save project

parent 17f9cf09
Showing with 18 additions and 0 deletions
# 利用write()帮助悟空给诺依回信吧~ # 利用write()帮助悟空给诺依回信吧~
import turtle
screen=turtle.Screen()
SB=screen.textinput("提示","你想要多大的爱心")
int(SB)
screen.bgcolor("light blue")
pen=turtle.Pen()
pen.penup()
pen.goto(-100,0)
pen.write("祝你生日快乐",font=("Times",30,"normal"))
pen.hideturtle()
len=60
pen.pendown()
pen.right(45)
pen.forward(2*len)
pen.left(45)
pen.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