Commit 8ed07a5c by BellCodeEditor

save project

parent b05f1ec8
Showing with 5 additions and 1 deletions
# 利用write()帮助悟空给诺依回信吧~
import turtle
#导入turele模块
screen=turtle.Screen()
screen.bgcolor("light blue")
len=screen.textinput("100","100")
len=int(len)
pen=turtle.Pen()
pen.write("你好\nSB.",font=("Times",30,"normal"))
#建立画笔变量
pen.write("你好\n诺依.",font=("Times",30,"normal"))
#贺卡内容
pen.hideturtle()
#隐藏画笔
len=60
pen.penup()
pen.goto(100,100)
......
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